Posted by Grant Foraker on August 28, 2017 at 14:00:55:
In Reply to: Win10 printers posted by Grant Foraker on August 22, 2017 at 15:26:46:
No luck on this so far.
Posted a query to a HP printer forum and got this ...
=======================================================================
Re: P3005 drawer codes
Options
ý08-25-2017 10:43 AM
I've no idea whether or not the PCL6 (PCL X) drivers support any mechanisms for injecting data via driver interfaces.
PCL XL certainly supports tray selection; the standard enumerated value identifiers used within PCL XL for tray selection are:
eDefaultSource: "<00>"
eAutoSelect: "<01>"
eManualFeed: "<02>"
eMultiPurposeTray: "<03>"
eUpperCassette: "<04>"
eLowerCassette: "<05>"
eEnvelopeTray: "<06>"
eThirdCassette: "<07>"
Note that the values (e.g. decimal 4 = hexadecimal 04) are binary values, rather than the ASCII-text values (e.g. ASCII digit 3 = codepoint decimal 51 = hexadecimal 33) used with PCL5.
===============================================================
The codes that work for Win7 and before are 260 & 261. Coincidence? 260 & 261 are (256 + 4) and (256 +5). Nonetheless, I've tried 4 & 5, 3 & 4, and 2 & and 3.
===============================================================
SELECT CASE ZLP$
CASE 'L14'
PRINT (1) (TR);(SETPRINTERINFO = 8, 260) ! TRAY 2 HAS WHITE PAPER
FOR LP = 1 TO 5
PRINT (1) 'L14 - THIS SHOULD BE WHITE PAPER'
NEXT LP
PRINT (1) (FF)
PRINT (1) (TR);(SETPRINTERINFO = 8, 261) ! TRAY 3 HAS YELLOW PAPER
FOR LP = 1 TO 5
PRINT (1) 'L14 - THIS SHOULD BE YELLOW PAPER'
NEXT LP
PRINT (1) (FF)
CASE 'LP4'
PRINT (1) (TR);(SETPRINTERINFO = 8, 2) ! TRAY 2 HAS WHITE PAPER !!!!! 4
FOR LP = 1 TO 5
PRINT (1) 'LP4 - THIS SHOULD BE WHITE PAPER'
NEXT LP
PRINT (1) (FF)
PRINT (1) (TR);(SETPRINTERINFO = 8, 3) ! TRAY 3 HAS YELLOW PAPER !!!!! 5
FOR LP = 1 TO 5
PRINT (1) 'LP4 - THIS SHOULD BE YELLOW PAPER'
NEXT LP
PRINT (1) (FF)
CASE ELSE
PRINT (1) (TR);(SETPRINTERINFO = 8, 4) ! TRAY 2 HAS WHITE PAPER
FOR LP = 1 TO 5
PRINT (1) 'OTHER - THIS SHOULD BE WHITE PAPER'
NEXT LP
PRINT (1) (FF)
PRINT (1) (TR);(SETPRINTERINFO = 8, 5) ! TRAY 3 HAS YELLOW PAPER
FOR LP = 1 TO 5
PRINT (1) 'OTHER - THIS SHOULD BE YELLOW PAPER'
NEXT LP
PRINT (1) (FF)
ENDSELECT
==========================================================
L14 is the old printer definition via \\SERVER01\L14_INVOICES. From the server to the printer is via IP address.
LP4 is installed on the Win10 PC's with latest HP driver. Everything works except the drawer selection.
Has there been a Win10 update that Comet doesn't do right?
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.