I need two PDF printers with different page layouts A4 and A3, portrait and landscape.
Is it possible ?
Two PDF Printers
Moderator: Rathinagiri
- dragancesu
- Posts: 527
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
- Has thanked: 10 times
- Been thanked: 90 times
Why not? In report program I use
GetPrinter() replace with "YourPrinterName", it's still easy
Code: Select all
mPrinter := GetPrinter()
IF Empty ( mPrinter )
MsgExclamation( "Printer not selected" )
dbcloseall()
RETURN NIL
ENDIF
SELECT PRINTER mPrinter ;
ORIENTATION PRINTER_ORIENT_PORTRAIT ;
PAPERSIZE PRINTER_PAPER_A4 ;
PREVIEW
START PRINTDOC NAME "report"
- nekbmm
- Posts: 28
- Joined: Sat Jul 16, 2016 3:16 am
- DBs Used: DBF,SQLite
- Location: Ivanjica, Serbia
- Has thanked: 1 time
Štampam M4 obrazac u PDF. Može li direktno u registry da se menja format,( A4 portrait - A3 landscape i obratno).
Problem je što je vrednost PDF default štampača u reg_binary formatu !
Pozdrav NEX.
Problem je što je vrednost PDF default štampača u reg_binary formatu !
Pozdrav NEX.
- dragancesu
- Posts: 527
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
- Has thanked: 10 times
- Been thanked: 90 times
Ne koristim direktno kreiranje PDF jer ne stampa dobro nasa slova
Stampac je jedan, velicina stane A4/A3 i orjentacija portret/landscape se definise, a pdf stampac ce to da prihvati,
to ne bi trebalo da bude problem
Tako da, samo si nepotrebno komplikovao
Stampac je jedan, velicina stane A4/A3 i orjentacija portret/landscape se definise, a pdf stampac ce to da prihvati,
to ne bi trebalo da bude problem
Tako da, samo si nepotrebno komplikovao