Jump to content
Fivewin Brasil

Evitar eject e definir tam. do papel "Win32Prn"


VLNUNES

Recommended Posts

Olá amigos;

1 - Como definir o tamanho da página em Cm usando Win32Prn ?

Com oPrinter:FormType := 9 é tamanho A4 mas e em Cm como seria ?

2 - Tem como evitar o eject no fim da impressão, pois tenho de usar "bobina" em LX-300 e impressora não fiscal.

Valeu;

Vander

FW 2.6 / CLIPPER 5.3 / BLINKER 5 / WS 4.5 / xharbour 0.99.50 (simplex),

Link to comment
Share on other sites

Olá amigos;

1 - Como definir o tamanho da página em Cm usando Win32Prn ?

Com oPrinter:FormType := 9 é tamanho A4 mas e em Cm como seria ?

2 - Tem como evitar o eject no fim da impressão, pois tenho de usar "bobina" em LX-300 e impressora não fiscal.

Valeu;

Vander

FW 2.6 / CLIPPER 5.3 / BLINKER 5 / WS 4.5 / xharbour 0.99.50 (simplex),

Link to comment
Share on other sites

Imprime direto na paralela, fica bem mais fácil....

nIDPRN := FCREATE("lpt1",0)

cBUFFER := " O R C A M E N T O" + CRLF

cBUFFER += "CUPOM: " + STRZERO(nNUMDOC,6) + Blá... + CRLF

...

...

AO FINAL DO CUPOM.....

FWRITE(nIDPRN,@cBUFFER,LEN(cBUFFER))

FCLOSE(nIDPRN)

Ronaldo Marins

Rio de Janeiro - RJ

FW 2.4 + HB 4.3 + workshop 4.5 + xDev Studio V0.57

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...