Recent changes in company needs, the need to print a courier, but also web-based printing. Originally adopted CS method, but in order to simplify the application of the program, so the CS printing function removed. Add Web-based printing.
At first, because of the printer do not understand, went a lot of detours. The original approach was to:
1. Click the "Print Express button" In the order list, go to the printexpress.aspx page, load the data that needs to be printed, and present it to the page.
2. The page background uses the Express single scan picture (652*365 previously used in CS)
3. Place the loaded data in the location where it needs to be printed (to scan the courier images).
Trouble constantly, the position is always not on, and the printer paper distance is not correct, so continuous printing is also incorrect.
Later, after a look at the printer to obtain:
1. The printer can set the paper size, so that it can solve the continuous printing paper distance.
2. Use ruler quantity Express single size, 23cm*12.7cm (like Rhyme Tatsu, Yuantong statement: I am not advertising) are this specification.
3. Set the size of the printer (server2003): Start-"Printers and Faxes-" Right click on the server properties, create a new format-"Fill in the amount of the above size to save."
4. Set the paper size for the printer (Epson lq635k) of the Print Express: Select Printer-"Printing preferences-" advanced-"Select the paper Specification, you just added to
5. When the printer is behind the paper, the paper must be left, aligned to the left, and then aligned to the right. It's not going to be crooked.
Back to the program, now know the actual courier size is 23*12.7 then converted to PX is how much? Next print position, how to position it?
1. Size 23*12.7 converted to px (23*38) * (12.7*38) =874*483. (About 1cm=38px)
2. Use PS to change the scanned express form to 874*483.
3. Since our printing area is only starting from 0, 0 (top and left), we use a ruler to measure the individual print positions, top and back, remember that the amount of time must start from 0 (the most side of the volume)
4. Replace the image with a modified size, and then match the data to the size you are measuring.
5. Then change the amount of page settings in the browser to 0, save it. (This step is important)
Re-adjust the program to print, position and the paper is correct. If you do not understand, please contact me.