MaximoAccess

Caro Usuário, antes de postar pela primeira vez, leia as regras do fórum.

https://www.maximoaccess.com/t48-regras-do-forum

Obrigado

Administração


Participe do fórum, é rápido e fácil

MaximoAccess

Caro Usuário, antes de postar pela primeira vez, leia as regras do fórum.

https://www.maximoaccess.com/t48-regras-do-forum

Obrigado

Administração

MaximoAccess

Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Dicas Ms Access, Exemplos Ms Access, Codigos VBA Ms Access, SQL Ms Access


2 participantes

    tamanho da folha

    avatar
    Zeusangel
    Intermediário
    Intermediário


    Respeito às regras : Respeito às Regras 100%

    Sexo : Masculino
    Localização : Australia
    Mensagens : 72
    Registrado : 07/11/2011

    tamanho da folha Empty tamanho da folha

    Mensagem  Zeusangel 22/11/2012, 20:02

    bons mestres dias,
    Eu tenho um pequeno problema com um relatório, eu quero abrir
    o relatório eu coloquei o tamanho da folha, para não configurar manualmente.
    Eu queria fazer com esse código, mas ele não funciona,

    Me.Printer.PaperSize = acPRPSLetter
    e mudar.

    Me.Printer.PaperSize = acPRPSFACTURA

    Bill é o que eu fiz, com 16,9 centímetros de largura medidas
    e 22,9 cm de altura.

    como eu poderia usar?? ou fazer?

    alguém que eu poderia entregar dar sobre isso, muito obrigado antecipadamente
    -----------------------------------------------------------------------------------

    good day masters,
    I have a little problem with a report, I want to open
    the report I put the sheet size, not to configure it manually.
    I wanted to do with this code but it does not work,

    Me.Printer.PaperSize = acPRPSLetter
    and change.

    Me.Printer.PaperSize = acPRPSFACTURA

    Bill is the one I did, with measures 16.9 cm wide
    and 22.9 cm high.

    as I could use??? or do?
    someone I could hand's take on this, many thanks in advance.
    Shocked Shocked Shocked Shocked Shocked Shocked Shocked Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes
    criquio
    criquio
    Moderador Global
    Moderador Global


    Respeito às regras : Respeito às Regras 100%

    Sexo : Masculino
    Localização : Brasil
    Mensagens : 11229
    Registrado : 30/12/2009

    tamanho da folha Empty Re: tamanho da folha

    Mensagem  criquio 22/11/2012, 21:13

    What is acPRPSFACTURA? acPRPSLetter is part of the variables of printer functions. If you want to use a different variable, you need to create it first.


    .................................................................................
    Meu novo site: www.vcssistemas.com.br

    Clique aqui e veja um vídeo que explica como fazer pesquisas no forum.


    DICA: Quando precisar inserir um exemplo do seu aplicativo, siga os procedimentos abaixo:
    1 - faça uma cópia do aplicativo
    2 - retire tudo que não for necessário à solução do problema, exceto o que o aplicativo precisar para funcionar
    3 - use o Compactar/Reparar
    4 - compacte o aplicativo em zip ou rar (zip para postagem como anexo na mensagem)


    Agradeça a quem lhe ajudou, clicando no joinha de uma das mensagens do usuário.
    Positive as mensagens que achar útil, no canto superior direito delas.

    avatar
    Zeusangel
    Intermediário
    Intermediário


    Respeito às regras : Respeito às Regras 100%

    Sexo : Masculino
    Localização : Australia
    Mensagens : 72
    Registrado : 07/11/2011

    tamanho da folha Empty Thanks

    Mensagem  Zeusangel 22/11/2012, 23:48


    ok thanks criquio, accurate invoice and have created, and also try it with acPRPSUser but I turned out, I did not increase in the report. it could use more or some other function to open the report and would increase the size of the sheet, maybe you know a case, how I can fix it for............

    Me!cmbPrinter = strDefaultPrinter
    Me!cmbPaperSize = 1

    in this code I equals 1, and the truth this code if you do not understand, as I grab that has default settings the printer, then to get missing settings and choose so that I have configured.
    I thank you again attention. since I am in a case I have ever seen, well for now

    http://www.mediafire.com/?ufocw8xcvjq1yyi
    avatar
    Convidad
    Convidado


    tamanho da folha Empty Re: tamanho da folha

    Mensagem  Convidad 23/11/2012, 09:51

    The Printer object does return a value for the preset paper sizes.

    The number matches one of these contstants:
    1 acPRPSLetter
    2 acPRPSLetterSmall
    3 acPRPSTabloid
    4 acPRPSLedger
    5 acPRPSLegal
    6 acPRPSStatement
    8 acPRPSA3
    9 acPRPSA4
    10 acPRPSA4Small
    11 acPRPSA5
    12 acPRPSB4
    13 acPRPSB5
    14 acPRPSFolio
    15 acPRPSQuarto
    16 acPRPS10x14
    17 acPRPS11x17
    18 acPRPSNote
    19 acPRPSEnv9
    20 acPRPSEnv10
    21 acPRPSEnv11
    22 acPRPSEnv12
    23 acPRPSEnv14
    24 acPRPSCSheet
    25 acPRPSDSheet
    26 acPRPSExecutive
    27 acPRPSEnvDL
    28 acPRPSEnvC5
    29 acPRPSEnvC3
    30 acPRPSEnvC4
    31 acPRPSEnvC6
    32 acPRPSEnvC65
    33 acPRPSEnvB4
    34 acPRPSEnvB5
    35 acPRPSEnvB6
    36 acPRPSEnvItaly
    37 acPRPSEnvMonarch
    38 acPRPSEnvPersonal
    39 acPRPSESheet
    39 acPRPSFanfoldUS
    40 acPRPSFanfoldStdGerman
    41 acPRPSFanfoldLglGerman
    256 acPRPSUser

    --
    Allen Browne - Microsoft MVP. Perth, Western Australia.
    Tips for Access users - http://allenbrowne.com/tips.html
    avatar
    Zeusangel
    Intermediário
    Intermediário


    Respeito às regras : Respeito às Regras 100%

    Sexo : Masculino
    Localização : Australia
    Mensagens : 72
    Registrado : 07/11/2011

    tamanho da folha Empty Thanks!!

    Mensagem  Zeusangel 24/11/2012, 01:11

    Ricardo ok, thanks for your advice and if you configure this acPRPS11x17 and I added my measurements, perfect. but now I want to configure the report or nose which makes the margins and columns as I could set in the preview, but as I do not apply it to the report, I only applied acPRPS11x17 settings. As I can do I apply the report measures the column and margins? if my ingnorancia apology on this but I've been watching most of the afternoon and have found nothing. could you hand me's take. thank you very much in advance Shocked Shocked Shocked Shocked Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes
    avatar
    Zeusangel
    Intermediário
    Intermediário


    Respeito às regras : Respeito às Regras 100%

    Sexo : Masculino
    Localização : Australia
    Mensagens : 72
    Registrado : 07/11/2011

    tamanho da folha Empty acPRPSUser

    Mensagem  Zeusangel 30/11/2012, 01:36

    Quando eu criei uma folha de tamanho como eu chamo, e com 256 acPRPSUser sonda, mas não o que eu definir, eu pobrado com acPRPSFactura que é o nome do formulário criado nas propriedades do servidor de impressão, mas também me diz que a variável lá, ele teria de declarar que o que reconosca obrigado Mestre, eu te agradeço por seu apoio com informações fornecidas.
    ---------------------------------------------------------------------------------------

    When I created a sheet size how do I call, and with 256 acPRPSUser probe, but not what I set, I pobrado with acPRPSFactura which is the name the form created in print server properties, but also tells me that variable there, it would have to declare that what reconosca thanks master, I thank you for your support with information provided
    Shocked Shocked Shocked Shocked cheers cheers cheers bounce bounce bounce bounce Shocked Shocked

    Conteúdo patrocinado


    tamanho da folha Empty Re: tamanho da folha

    Mensagem  Conteúdo patrocinado


      Data/hora atual: 29/4/2024, 04:06