Paper size not changing

611 views
Skip to first unread message

edytan...@gmail.com

unread,
Mar 13, 2017, 4:15:45 AM3/13/17
to qz-print
Hi,
I'm using QZ Tray 2.0 and LX-300 II Epson Printer.
I have a problem to set the paper size neither using qz.configs or ESCP.
I try to set the paper size to 8.15" width and 13" height but the paper size not change and still 11" height

This is how I try to change the paper size using qz.configs
var config = qz.configs.create("EPSON LX-300+ /II", { size: { width: 8.15, height: 13}, units : 'in' });

I run config.getOptions and it show this

altPrinting:false
colorType:"color"
copies:1
density:0
duplex:false
encoding:null
endOfDoc:null
fallbackDensity:600
interpolation:"bicubic"
jobName:null
margins:0
orientation:null
paperThickness:null
perSpool:1
printerTray:null
rasterize:true
rotation:0
scaleContent:true
size:Object
height:13
width:8.15
__proto__:Object
units:"in"

It seems the paper size already stored but somehow doesn't make any effect.

This is my ESCP which is not running too
var data = new Array(
'\x1B' + '\x40',
'\x1B' + '\x30', // ESC 0
'\x1B' + '\x43' + '\x00' + '13', // ESC C NUL 13
'\x1B' + '\x32', // ESC 2
'\x1B' + '\x4E' + '\x36', // ESC N 6
'\x1B' + '\x30',
'HELLO WORLD!!!!!!' + '\x0A',
'This is Me!!!!!!' + '\x0A',
'This world is beautiful!!!!!!' + '\x0A',
'Every thing is amazing!!!!!!' + '\x0A',
'HELLO WORLD!!!!!!' + '\x0A',
'This is Me!!!!!!' + '\x0A'
);

Am I using wrong method to set the paper size?

Thanks

Lite Finocchiaro

unread,
Mar 13, 2017, 12:39:53 PM3/13/17
to edytan...@gmail.com, qz-print
Edytanto:

Since you are printing ESCP (raw queue), paper size must be defined by ESCP as well.

Page 3 of the following guide shows acceptable paper sizes:

https://files.support.epson.com/pdf/lx3pii/lx3piipg.pdf


Your dimensions, 8.15 inches wide and 13 inches high, are acceptable for this printer, but you must issue the size commands before you send the rest of your ESCP data.

Do not use QZ-Tray to set paper size when printing ESCP.

Here is a manual for several printers of this type from Epson. If you look for "Page length" you will see options to set the page length with ESCP commands for your printer. (See page 14, page 30)

http://www.aurelie.net/aurelie/hotline/mode_emploi/escp.pdf


If your printer is the LX300+II, then you will have to research commands for that printer, as it is newer and has a newer list of commands.

We do not have the same hardware in our lab, so I cannot instruct you with exact commands, but I hope this reply leads you to a successful print. Thank you for writing to us.

Kind regards,




--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages