Jump to content

Help forcing printer to use a tray (again)


ra34

This topic is 7785 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Calling Bob Weaver..

I think I need a little help getting our OS 9 macs to use a specific tray during printing in a filemaker script. I read the previous thread on how to do this but I cannot get it to work with our new HP 4100tn printer. Basically, I want to print letters on our letterhead from tray 3 (lower tray) and envelopes from tray 1(manual input slot) and then reset the printer to use tray 2 (middle tray) for non filemaker printing. I have tried changing the input numbers from the PPD file but it doesn't seem to make a difference and this post script appears to be a bit different from what was previously posted on the forum. Here is the text from the PPD file.

*% ======================================

*% Media Handling Features (Paper Sources)

*% ======================================

*OpenUI *InputSlot: PickOne

*OrderDependency: 20 AnySetup *InputSlot

*DefaultInputSlot: Middle

*InputSlot Upper/Tray 1: "

<</ManualFeed false/MediaPosition 3>> setpagedevice"

*End

*InputSlot Middle/Tray 2: "

<</ManualFeed false/MediaPosition 0>> setpagedevice"

*End

*InputSlot Lower/Tray 3: "

<</ManualFeed false/MediaPosition 1>> setpagedevice"

*End

*InputSlot LargeCapacity/Tray 4: "

<</ManualFeed false/MediaPosition 4>> setpagedevice"

*End

*InputSlot Envelope/Envelope Feeder: "

<</ManualFeed false/MediaPosition 2>> setpagedevice"

*End

*?InputSlot: "

save

currentpagedevice /InputAttributes get /Priority get

aload pop pop pop pop

[(Middle) (Lower) (Envelope) (Upper) (LargeCapacity)] exch get = flush

restore

"

*End

*CloseUI: *InputSlot

*% Enable/Disable Manual Feed

*OpenUI *ManualFeed/Tray 1 (Manual): Boolean

*OrderDependency: 20 AnySetup *ManualFeed

*DefaultManualFeed: False

*ManualFeed True/True: "

<</ManualFeed true>> setpagedevice"

*End

*ManualFeed False/False: "

<</ManualFeed false>> setpagedevice"

*End

*?ManualFeed: "

save

currentpagedevice /ManualFeed get

{(True)}{(False)}ifelse = flush

restore

"

*End

*CloseUI: *ManualFeed

If someone could tell me which numbers to change I would appreciate it.

Thanks,

Bob

Link to comment
Share on other sites

In all 5 occurrences of the following text:

"<</ManualFeed false/MediaPosition x>>"

where x is a number from 0 to 4 change it to:

"<</ManualFeed false/MediaPosition 1>>"

for your Tray 3 (letterhead) ppd file

and to:

"<</ManualFeed false/MediaPosition 3>>"

for your Tray 1 (envelopes) ppd file

For non Filemaker printing, it's probably safest to use the unmodified ppd file.

Also, make sure that your applescript is working properly and really is changing the ppd files.

Note, for anyone wondering what on earth we are talking about see this thread:

http://www.fmforums.com/threads/showflat.php?Cat=&Board=UBB8&Number=1528&page=1&view=collapsed&sb=5&o=all&fpart=1

Link to comment
Share on other sites

Thanks for the help Bob. However, I still cannot get this to work. For printing the letters from tray 3 with the modified PPD, the input defaults to the manual feed slot (if I leave it set to auto select in the print window). If I choose tray 3 from the input slot from the print window it will use try 3.

I guess I am a moron for changing our old laserwriter which was working but was very finnicky.

I am going to play around with using other numbers in the positions you suggested but I do not hold out much hope. Do you have any other suggestions?

Thanks,

Robert Allen

Link to comment
Share on other sites

Are you sure that the printer is actually using the modified ppd file? If you modify the ppd file so that all tray selection options use the same value, then the tray selection menu in the print dialog should have no effect whatsoever, and it will always print from the same tray. Try manually selecting the modified ppd file in the chooser and see if that has any effect.

Also, just to make sure we are on the same wavelength, this is how I would modify the ppd file to print from tray 3:


*% ======================================

*% Media Handling Features (Paper Sources)

*% ======================================

*OpenUI *InputSlot: PickOne

*OrderDependency: 20 AnySetup *InputSlot

*DefaultInputSlot: Middle

*InputSlot Upper/Tray 1: "

<</ManualFeed false/MediaPosition 1>> setpagedevice"

*End

*InputSlot Middle/Tray 2: "

<</ManualFeed false/MediaPosition 1>> setpagedevice"

*End

*InputSlot Lower/Tray 3: "

<</ManualFeed false/MediaPosition 1>> setpagedevice"

*End

*InputSlot LargeCapacity/Tray 4: "

<</ManualFeed false/MediaPosition 1>> setpagedevice"

*End

*InputSlot Envelope/Envelope Feeder: "

<</ManualFeed false/MediaPosition 1>> setpagedevice"

*End

*?InputSlot: "

save

currentpagedevice /InputAttributes get /Priority get

aload pop pop pop pop

[(Middle) (Lower) (Envelope) (Upper) (LargeCapacity)] exch get = flush

restore

"

*End

*CloseUI: *InputSlot

*% Enable/Disable Manual Feed

*OpenUI *ManualFeed/Tray 1 (Manual): Boolean

*OrderDependency: 20 AnySetup *ManualFeed

*DefaultManualFeed: False

*ManualFeed True/True: "

<</ManualFeed true>> setpagedevice"

*End

*ManualFeed False/False: "

<</ManualFeed false>> setpagedevice"

*End

*?ManualFeed: "

save

currentpagedevice /ManualFeed get

{(True)}{(False)}ifelse = flush

restore

"

*End

*CloseUI: *ManualFeed


Link to comment
Share on other sites

Dear Bob,

I tried again, still no luck. The modified PPD file is selected in the chooser manually. I tried changing those numbers from 1 to 3 without any change. With any of the modified files I can still manually select the correct tray from the print window and this will work ( I don't understand how this happens).

One thing I had to differently with this printer is to modify the PPD file with MS word as the original was to large to be opened by simpletext. Could this be the problem?

I read another one of your posts where you recommended the adobe printer driver and laserwriter 8 to switch between printer settings. Would this work in this situation?

I feel like an idiot, this is getting frustrating, epecially since it was working with our older printer.

Thanks,

Robert Allen

Link to comment
Share on other sites

Does anything appear different at all in the print dialog? Eg., are the defaults still the same etc.?

If you want to post the whole ppd file here, I could take a look and see if there's anything else in it that may need to be changed. It's not an exact science, since this isn't how ppd files were intended to be used.

Link to comment
Share on other sites

*Ok, I hope this doesn't take up too much space.

Thanks for looking at it and please feel free to edit out any unecessary text from this post. This is an unmodified version of the ppd. I also tried changeing the manual input slot to tray 3 but that did not work.

Bob

PPD-Adobe: "4.3"

*% =========================================

*% Disclaimer: The above statement indicates

*% that this PPD was written using the Adobe PPD

*% File Format Specification 4.3, but does not

*% intend to imply approval and acceptance by

*% Adobe Systems, Inc.

*% =========================================

*% PostScript® Printer Description File

*% Copyright 1992-2001 Hewlett-Packard Company

*% PPD for HP LaserJet 4100 Series

*% For Macintosh only

*% =========================================

*% ===================================

*% Product / PPD Version Information

*% ===================================

*% PPD File Version Information

*FormatVersion: "4.3"

*FileVersion: "1.1.0"

*LanguageEncoding: MacStandard

*LanguageVersion: English

*PCFileName: "HP4100_5.PPD"

*% Product Version Information

*Product: "(HP LaserJet 4100 Series )"

*ModelName: "HP LaserJet 4100 Series "

*ShortNickName: "HP LaserJet 4100 Series "

*NickName: "HP LaserJet 4100 Series v.3010.107"

*PSVersion: "(3010.107) 0"

*Manufacturer: "HP"

*% ===================================

*% Basic Device Capabilities

*% ===================================

*LanguageLevel: "3"

*ColorDevice: False

*DefaultColorSpace: Gray

*FileSystem: True

*?FileSystem: "

save false

(%disk?%)

{ currentdevparams dup /Writeable known

{ /Writeable get {pop true} if } { pop } ifelse

} 100 string /IODevice resourceforall

{(True)}{(False)} ifelse = flush

restore

"

*End

*Throughput: "17"

*TTRasterizer: Type42

*?TTRasterizer: "

save

42 /FontType resourcestatus

{ pop pop (Type42)} {pop pop (None)} ifelse = flush

restore

"

*End

*VariablePaperSize: True

*% ===================================

*% Emulations and Protocols

*% ===================================

*Protocols: PJL TBCP

*SuggestedJobTimeout: "0"

*SuggestedWaitTimeout: "120"

*PrintPSErrors: True

*% =================================

*% PostScript Patches

*% =================================

*JobPatchFile 1: "

/limitinterpolate { dup type /dicttype eq { dup /Interpolate known { dup /Interpolate get {

1 1 idtransform 2 index /ImageMatrix get dtransform exch abs 1 exch div exch abs 1 exch div 2 copy lt

{ exch }if pop 4 lt { dup /Interpolate false put } if } if } if } if

} bind def

/image { limitinterpolate systemdict /image get exec } bind def

/imagemask { limitinterpolate systemdict /imagemask get exec } bind def"

*End

*% ===================================

*% Installable Options

*% ===================================

*OpenGroup: InstallableOptions/Installed Options

*OpenUI *Option1/Tray 3: Boolean

*DefaultOption1: False

*Option1 True/Installed: ""

*Option1 False/Not Installed: ""

*?Option1: "

save

currentpagedevice /InputAttributes get dup

1 known

{1 get null ne {(True)}{(False)} ifelse}

{pop (False)} ifelse = flush

restore "

*End

*CloseUI: *Option1

*OpenUI *Option2/Tray 4: Boolean

*DefaultOption2: False

*Option2 True/Installed: ""

*Option2 False/Not Installed: ""

*?Option2: "

save

currentpagedevice /InputAttributes get dup

4 known

{4 get null ne {(True)}{(False)} ifelse}

{pop (False)} ifelse

= flush

restore "

*End

*CloseUI: *Option2

*OpenUI *Option3/Duplex Unit: Boolean

*DefaultOption3: False

*Option3 True/Installed: ""

*Option3 False/Not Installed: ""

*?Option3: "

save

currentpagedevice /Duplex known

{(True)}{(False)}ifelse = flush

restore "

*End

*CloseUI: *Option3

*OpenUI *Option4/Printer Hard Disk: PickOne

*DefaultOption4: None

*Option4 None/None: ""

*Option4 RAMDisk/RAM Disk: ""

*Option4 HardDisk/Hard Disk: ""

*?Option4: "

save

(HardDisk)

(RAMDisk)

(None)

0

(%disk?%)

{ currentdevparams dup /Writeable known

{ dup /Writeable get

{ /PhysicalSize get 500000 gt {2}{1}ifelse 2 copy lt { exch }if pop }

{ pop } ifelse

} { pop } ifelse

} 100 string /IODevice resourceforall

index = flush pop pop pop

restore

"

*End

*CloseUI: *Option4

*OpenUI *Option5/Envelope Feeder: Boolean

*DefaultOption5: False

*Option5 True/Installed: ""

*Option5 False/Not Installed: ""

*?Option5: "

save

currentpagedevice /InputAttributes get dup

2 known

{2 get null ne {(True)}{(False)} ifelse}

{pop (False)} ifelse

= flush

restore

"

*End

*CloseUI: *Option5

*%====================================

*% Fit to Page

*%====================================

*OpenUI *HPPaperPolicy/Fit to Page: PickOne

*OrderDependency: 10 AnySetup *HPPaperPolicy

*DefaultHPPaperPolicy: PromptUser

*HPPaperPolicy PromptUser/Prompt User: "

<</DeferredMediaSelection true>> setpagedevice"

*End

*HPPaperPolicy NearestSizeAdjust/Nearest Size and Scale: "

<</DeferredMediaSelection false>> setpagedevice

<</Policies << /PageSize 3 >> >> setpagedevice"

*End

*HPPaperPolicy NearestSizeNoAdjust/Nearest Size and Crop: "

<</DeferredMediaSelection false>> setpagedevice

<</Policies << /PageSize 5 >> >> setpagedevice"

*End

*?HPPaperPolicy: "(PromptUser) = flush"

*CloseUI: *HPPaperPolicy

*OpenUI *InstalledMemory/Total Memory: PickOne

*DefaultInstalledMemory: 16MB

*InstalledMemory 16MB/16 - 23 MB: ""

*InstalledMemory 24MB/24 - 31 MB: ""

*InstalledMemory 32MB/32 - 63 MB: ""

*InstalledMemory 64MB/64 - 95 MB: ""

*InstalledMemory 96MB/96 - 127 MB: ""

*InstalledMemory 128MB/128 - 255 MB: ""

*InstalledMemory 256MB/256 MB or more: ""

*?InstalledMemory: "

save

currentsystemparams /RamSize get

524288 div ceiling cvi 2 div

/size exch def

size 256 ge

{(256MB)}

{

size 128 ge

{(128MB)}

{

size 96 ge

{(96MB)}

{

size 64 ge

{(64MB)}

{

size 32 ge

{(32MB)}

{

size 24 ge

{(24MB)}

{(16MB)} ifelse

} ifelse

} ifelse

} ifelse

} ifelse

} ifelse

= flush

restore

"

*End

*CloseUI: *InstalledMemory

*CloseGroup: InstallableOptions

*%Job Retention not allowed unless printer has a hard disk

*UIConstraints: *Option4 None *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *Option4 None *HPJobRetention HPJobRetentionProof

*UIConstraints: *Option4 None *HPJobRetention HPJobRetentionStore

*UIConstraints: *Option4 None *HPJobRetention HPJobRetentionPrivate

*UIConstraints: *Option4 None *Collate True

*UIConstraints: *Option4 RAMDisk *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *Option4 RAMDisk *HPJobRetention HPJobRetentionStore

*% PIN is not required when Job Retention is HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey0067 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey0089 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey0403 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey0989 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey1073 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey1100 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey1117 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey1299 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey1362 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey1465 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey1518 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey1636 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey2065 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey2080 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey2213 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey2226 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey2377 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey2400 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey2486 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey2846 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey2951 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey3246 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey3429 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey3559 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey3767 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey4114 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey4447 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey4743 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey4757 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey5161 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey5200 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey5333 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey5696 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey5952 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey5975 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey6250 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey6582 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey7286 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey7846 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey7921 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey8455 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey8509 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey8601 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey8643 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey8865 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey8941 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey9531 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey HoldKey9835 *HPJobRetention HPJobRetentionOff

*UIConstraints: *HPJobHoldKey Set *HPJobRetention HPJobRetentionOff

*%###*% PIN is not required when Job Retention is HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey0067 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey0089 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey0403 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey0989 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey1073 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey1100 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey1117 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey1299 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey1362 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey1465 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey1518 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey1636 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey2065 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey2080 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey2213 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey2226 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey2377 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey2400 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey2486 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey2846 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey2951 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey3246 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey3429 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey3559 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey3767 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey4114 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey4447 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey4743 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey4757 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey5161 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey5200 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey5333 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey5696 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey5952 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey5975 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey6250 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey6582 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey7286 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey7846 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey7921 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey8455 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey8509 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey8601 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey8643 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey8865 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey8941 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey9531 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey HoldKey9835 *HPJobRetention HPJobRetentionQuickCopy

*UIConstraints: *HPJobHoldKey Set *HPJobRetention HPJobRetentionQuickCopy

*% PIN is not required when Job Retention is HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey0067 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey0089 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey0403 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey0989 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey1073 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey1100 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey1117 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey1299 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey1362 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey1465 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey1518 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey1636 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey2065 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey2080 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey2213 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey2226 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey2377 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey2400 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey2486 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey2846 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey2951 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey3246 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey3429 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey3559 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey3767 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey4114 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey4447 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey4743 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey4757 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey5161 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey5200 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey5333 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey5696 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey5952 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey5975 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey6250 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey6582 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey7286 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey7846 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey7921 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey8455 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey8509 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey8601 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey8643 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey8865 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey8941 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey9531 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey HoldKey9835 *HPJobRetention HPJobRetentionProof

*UIConstraints: *HPJobHoldKey Set *HPJobRetention HPJobRetentionProof

*% PIN is not required when Job Retention is HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey0067 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey0089 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey0403 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey0989 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey1073 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey1100 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey1117 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey1299 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey1362 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey1465 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey1518 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey1636 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey2065 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey2080 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey2213 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey2226 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey2377 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey2400 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey2486 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey2846 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey2951 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey3246 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey3429 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey3559 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey3767 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey4114 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey4447 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey4743 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey4757 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey5161 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey5200 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey5333 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey5696 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey5952 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey5975 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey6250 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey6582 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey7286 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey7846 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey7921 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey8455 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey8509 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey8601 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey8643 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey8865 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey8941 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey9531 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey HoldKey9835 *HPJobRetention HPJobRetentionStore

*UIConstraints: *HPJobHoldKey Set *HPJobRetention HPJobRetentionStore

*% ### The following lines are left in for visibility but commented out because though it

*% ### seems like requiring a PIN for a private job is the thing to do, the way it works

*% ### from the driver is very annoying. If you select a Private Job the UI constraint

*% ### immediately presents an alert saying that you must have a PIN without giving the

*% ### user a chance to even get to the PIN field yet. It would be nice if the alert were

*% ### presented when the Print button is pushed, but it isn't.

*% PIN is required when Job Retention is HPJobRetentionPrivate or HPJobRetentionPrivateStore

*%###*UIConstraints: *HPJobRetention HPJobRetentionPrivate *HPJobHoldKey HoldKeyNone

*%###*UIConstraints: *HPJobHoldKey HoldKeyNone *HPJobRetention HPJobRetentionPrivate

*% =================================

*% Job Retention

*% =================================

*% The UserName setting is obtained from the print job. This may not work on non-Mac drivers.

*OpenUI *HPJobRetention/Job Retention: PickOne

*OrderDependency: 14 Prolog *HPJobRetention

*DefaultHPJobRetention: HPJobRetentionOff

*HPJobRetention HPJobRetentionQuickCopy/Quick Copy: "

<< /Collate true /CollateDetails

<< /Type 8 /Hold 1 >>

>> setpagedevice

"

*End

*HPJobRetention HPJobRetentionProof/Proof and Hold: "

<< /Collate true /CollateDetails

<< /Type 8 /Hold 3 >>

>> setpagedevice

"

*End

*HPJobRetention HPJobRetentionStore/Stored Job: "

<< /Collate true /CollateDetails

<< /Type 8 /Hold 2 >>

>> setpagedevice

"

*End

*HPJobRetention HPJobRetentionPrivate/Private Job: "

<< /Collate true /CollateDetails

<< /Type 8 /Hold 1 /HoldType 1 >>

>> setpagedevice

"

*End

*HPJobRetention HPJobRetentionOff/Off: "

<< /CollateDetails

<< /Type 8 /Hold 0 >> >> setpagedevice

"

*End

*CloseUI: *HPJobRetention

*% Lots of choices available in case the driver does not allow text entry UI

*OpenUI *HPJobHoldKey/PIN (for Private Job): PickOne

*OrderDependency: 20 Prolog *HPJobHoldKey

*DefaultHPJobHoldKey: HoldKeyNone

*HPJobHoldKey HoldKeyNone/None: " % Private Job was selected with no PIN specified"

*HPJobHoldKey HoldKey0067/0067: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (0067) >> >> setpagedevice"

*HPJobHoldKey HoldKey0089/0089: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (0089) >> >> setpagedevice"

*HPJobHoldKey HoldKey0403/0403: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (0403) >> >> setpagedevice"

*HPJobHoldKey HoldKey0989/0989: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (0989) >> >> setpagedevice"

*HPJobHoldKey HoldKey1073/1073: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (1073) >> >> setpagedevice"

*HPJobHoldKey HoldKey1100/1100: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (1100) >> >> setpagedevice"

*HPJobHoldKey HoldKey1117/1117: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (1117) >> >> setpagedevice"

*HPJobHoldKey HoldKey1299/1299: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (1299) >> >> setpagedevice"

*HPJobHoldKey HoldKey1362/1362: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (1362) >> >> setpagedevice"

*HPJobHoldKey HoldKey1465/1465: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (1465) >> >> setpagedevice"

*HPJobHoldKey HoldKey1518/1518: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (1518) >> >> setpagedevice"

*HPJobHoldKey HoldKey1636/1636: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (1636) >> >> setpagedevice"

*HPJobHoldKey HoldKey2065/2065: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (2065) >> >> setpagedevice"

*HPJobHoldKey HoldKey2080/2080: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (2080) >> >> setpagedevice"

*HPJobHoldKey HoldKey2213/2213: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (2213) >> >> setpagedevice"

*HPJobHoldKey HoldKey2226/2226: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (2226) >> >> setpagedevice"

*HPJobHoldKey HoldKey2377/2377: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (2377) >> >> setpagedevice"

*HPJobHoldKey HoldKey2400/2400: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (2400) >> >> setpagedevice"

*HPJobHoldKey HoldKey2486/2486: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (2486) >> >> setpagedevice"

*HPJobHoldKey HoldKey2846/2846: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (2846) >> >> setpagedevice"

*HPJobHoldKey HoldKey2951/2951: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (2951) >> >> setpagedevice"

*HPJobHoldKey HoldKey3246/3246: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (3246) >> >> setpagedevice"

*HPJobHoldKey HoldKey3429/3429: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (3429) >> >> setpagedevice"

*HPJobHoldKey HoldKey3559/3559: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (3559) >> >> setpagedevice"

*HPJobHoldKey HoldKey3767/3767: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (3767) >> >> setpagedevice"

*HPJobHoldKey HoldKey4114/4114: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (4114) >> >> setpagedevice"

*HPJobHoldKey HoldKey4447/4447: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (4447) >> >> setpagedevice"

*HPJobHoldKey HoldKey4743/4743: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (4743) >> >> setpagedevice"

*HPJobHoldKey HoldKey4757/4757: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (4757) >> >> setpagedevice"

*HPJobHoldKey HoldKey5161/5161: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (5161) >> >> setpagedevice"

*HPJobHoldKey HoldKey5200/5200: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (5200) >> >> setpagedevice"

*HPJobHoldKey HoldKey5333/5333: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (5333) >> >> setpagedevice"

*HPJobHoldKey HoldKey5696/5696: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (5696) >> >> setpagedevice"

*HPJobHoldKey HoldKey5952/5952: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (5952) >> >> setpagedevice"

*HPJobHoldKey HoldKey5975/5975: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (5975) >> >> setpagedevice"

*HPJobHoldKey HoldKey6250/6250: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (6250) >> >> setpagedevice"

*HPJobHoldKey HoldKey6582/6582: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (6582) >> >> setpagedevice"

*HPJobHoldKey HoldKey7286/7286: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (7286) >> >> setpagedevice"

*HPJobHoldKey HoldKey7846/7846: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (7846) >> >> setpagedevice"

*HPJobHoldKey HoldKey7921/7921: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (7921) >> >> setpagedevice"

*HPJobHoldKey HoldKey8455/8455: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (8455) >> >> setpagedevice"

*HPJobHoldKey HoldKey8509/8509: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (8509) >> >> setpagedevice"

*HPJobHoldKey HoldKey8601/8601: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (8601) >> >> setpagedevice"

*HPJobHoldKey HoldKey8643/8643: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (8643) >> >> setpagedevice"

*HPJobHoldKey HoldKey8865/8865: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (8865) >> >> setpagedevice"

*HPJobHoldKey HoldKey8941/8941: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (8941) >> >> setpagedevice"

*HPJobHoldKey HoldKey9531/9531: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (9531) >> >> setpagedevice"

*HPJobHoldKey HoldKey9835/9835: "<< /CollateDetails << /Type 8 /Hold 1 /HoldType 1 /HoldKey (9835) >> >> setpagedevice"

*%If not using LW 8.5.1 or later, Set is the same as HoldKeyNone

*HPJobHoldKey Set/User Specified PIN: "<< /CollateDetails << /Type 8 /HoldType 0 >> >> setpagedevice"

*CloseUI: *HPJobHoldKey

*RBISetHPJobHoldKey Data: "long 0 9999 0"

*RBISetHPJobHoldKey Code: "

10000 add 5 string cvs dup length 4 sub 4 getinterval

<< /CollateDetails

<< /Type 8 /Hold 1 /HoldType 1 /HoldKey 11 -1 roll >>

>> setpagedevice

"

*End

*OpenUI *HPUserName/User Name: PickOne

*% The UserName setting is obtained from the print job. This will not work unchanged on non-Mac drivers.

*% The PS code has been written to put in default user and job names if they are not available from the job.

*% User specification of UserName works only with LW 8.5.1 or later. It will not work with non-Mac drivers.

*% If the driver does not support text entry UI the UserName will always be obtained from the print job.

*% The user is allowed to set the user name to allow organization of jobs in the printer.

*% For example, all forms could be stored under UserName "Forms".

*OrderDependency: 15 Prolog *HPUserName

*DefaultHPUserName: FileSharingName

*HPUserName FileSharingName/Use file sharing name: "

<< /CollateDetails

<< /Type 8

/UserName /dscInfo where

{ /dscInfo get dup /For known

{/For get}

{pop (No User Name)} ifelse}

{(No User Name)}ifelse

dup length 80 gt { 0 80 getinterval } if

dup true exch { 32 eq not { false exch pop } if } forall

{ pop (No User Name) } if

0 1 2 index length 1 sub

{ dup 2 index exch get dup 97 ge 1 index 122 le and

{ 32 sub 2 index 3 1 roll put }

{ pop pop } ifelse

} for

>>

>> setpagedevice

"

*End

*HPUserName Forms/Forms: "

<< /CollateDetails

<< /Type 8

/UserName (Forms)

0 1 2 index length 1 sub

{ dup 2 index exch get dup 97 ge 1 index 122 le and

{ 32 sub 2 index 3 1 roll put }

{ pop pop } ifelse

} for

>>

>> setpagedevice

"

*End

*HPUserName Set/Custom user name: "

<< /CollateDetails

<< /Type 8

/UserName /dscInfo where

{ /dscInfo get dup /For known

{/For get}

{pop (No User Name)} ifelse}

{(No User Name)}ifelse

dup length 80 gt { 0 80 getinterval } if

dup true exch { 32 eq not { false exch pop } if } forall

{ pop (No User Name) } if

0 1 2 index length 1 sub

{ dup 2 index exch get dup 97 ge 1 index 122 le and

{ 32 sub 2 index 3 1 roll put }

{ pop pop } ifelse

} for

>>

>> setpagedevice

"

*End

*CloseUI: *HPUserName

*% Allows LW 8.5.1 and above to use custom strings

*RBISetHPUserName Data: "() 80"

*RBISetHPUserName Code: "

<< /CollateDetails

<< /Type 8 /UserName 7 -1 roll

dup true exch { 32 eq not { false exch pop } if } forall

{ pop (No User Name) } if

0 1 2 index length 1 sub

{ dup 2 index exch get dup 97 ge 1 index 122 le and

{ 32 sub 2 index 3 1 roll put }

{ pop pop } ifelse

} for

>>

>> setpagedevice

"

*End

*OpenUI *HPJobName/Job Name: PickOne

*% The JobMgrName setting is obtained from the print job. This may not work on non-Mac drivers.

*% User specification of Jobname works only with LW 8.5.1 or later. It will not work with non-Mac drivers.

*% If the driver does not support text entry UI the JobMgrName will always be obtained from the print job.

*OrderDependency: 16 Prolog *HPJobName

*DefaultHPJobName: DocName

*HPJobName DocName/Use Document Name: "

<< /CollateDetails

<< /Type 8

/JobMgrName /dscInfo where

{ /dscInfo get dup /Title known

{/Title get}

{pop ()} ifelse}

{()}ifelse

/dscInfo where

{ /dscInfo get dup /Creator known

{

/Creator get dup 0 exch

{ dup 32 eq exch dup 64 gt exch 122 le and or { 1 add } { exit } ifelse } forall

0 exch getinterval anchorsearch { pop } if

}

{pop} ifelse

} if

{ (: search

{ pop pop }

{ exit }

ifelse

} loop

dup 0 exch { false ( -) { 2 index eq or } forall exch pop { 1 add } { exit } ifelse } forall

dup 0 eq { pop } { dup 2 index length exch sub getinterval } ifelse

dup length 80 gt { 0 80 getinterval } if

dup true exch { 32 eq not { false exch pop } if } forall

{ pop () } if

0 1 2 index length 1 sub

{ dup 2 index exch get dup 97 ge 1 index 122 le and

{ 32 sub 2 index 3 1 roll put }

{ pop pop } ifelse

} for

>>

>> setpagedevice

"

*End

*HPJobName Set/User Specified Job Name: "

<< /CollateDetails

<< /Type 8

/JobMgrName /dscInfo where

{ /dscInfo get dup /Title known

{/Title get}

{pop ()} ifelse}

{()}ifelse

/dscInfo where

{ /dscInfo get dup /Creator known

{

/Creator get dup 0 exch

{ dup 32 eq exch dup 64 gt exch 122 le and or { 1 add } { exit } ifelse } forall

0 exch getinterval anchorsearch { pop } if

}

{pop} ifelse

} if

{ (: search

{ pop pop }

{ exit }

ifelse

} loop

dup 0 exch { false ( -) { 2 index eq or } forall exch pop { 1 add } { exit } ifelse } forall

dup 0 eq { pop } { dup 2 index length exch sub getinterval } ifelse

dup length 80 gt { 0 80 getinterval } if

dup true exch { 32 eq not { false exch pop } if } forall

{ pop () } if

0 1 2 index length 1 sub

{ dup 2 index exch get dup 97 ge 1 index 122 le and

{ 32 sub 2 index 3 1 roll put }

{ pop pop } ifelse

} for

>>

>> setpagedevice

"

*End

*CloseUI: *HPJobName

*% Allows LW 8.5.1 and above to use custom strings

*RBISetHPJobName Data: "() 80"

*RBISetHPJobName Code: "

<< /CollateDetails

<< /Type 8 /JobMgrName 7 -1 roll

{ (: search

{ pop pop

{ ( ) anchorsearch

{ pop }

{ exit }

ifelse

} loop

}

{ exit }

ifelse

} loop dup true exch { 32 eq not { false exch pop } if } forall

{ pop () } if

0 1 2 index length 1 sub

{ dup 2 index exch get dup 97 ge 1 index 122 le and

{ 32 sub 2 index 3 1 roll put }

{ pop pop } ifelse

} for

>>

>> setpagedevice

"

*End

*% Fills not allowed with overlays

*%------------------------------------------------------------

*UIConstraints: *HPwmSwitch Overlay *HPwmTextStyle Fill

*UIConstraints: *HPwmTextStyle Fill *HPwmSwitch Overlay

*% Halo style does not work with Watermarks

*%------------------------------------------------------------

*UIConstraints: *HPwmSwitch Watermark *HPwmTextStyle Halo

*UIConstraints: *HPwmTextStyle Halo *HPwmSwitch Watermark

*% =================================

*% Watermark Printing

*% =================================

*OpenUI *HPwmSwitch/Watermark/Overlay: PickOne

*OrderDependency: 10000 AnySetup *HPwmSwitch

*DefaultHPwmSwitch: Off

*HPwmSwitch Off/None: ""

*HPwmSwitch Watermark/Watermark: "

% Copyright © Hewlett-Packard Co 1997

/HPwm where { pop }{

userdict begin

true setglobal /HPwm 5 dict dup begin /HPwmOn true def end def false setglobal

userdict /HPwmLocation known not {/HPwmLocation true def} if

userdict /HPwmText known not {/HPwmText (Draft) def} if

FontDirectory /HPwmFont known not {

/Helvetica-Bold findfont dup length dict begin

{1 index /FID ne {def} {pop pop} ifelse} forall

/MacEncoding where

{ pop /Encoding MacEncoding def }

{ /Encoding ISOLatin1Encoding def } ifelse

currentdict

end

/HPwmFont exch definefont pop

} if

userdict /HPwmSize known not {/HPwmSize 48 def} if

userdict /HPwmAngle known not {/HPwmAngle 45 def} if

userdict /HPwmSaturation known not

{ /HPwmSaturation

{ [ currentcmykcolor ] /DeviceCMYK setcolorspace { .55 mul } forall setcolor } def

} if

userdict /HPwmColor known not

{ /HPwmColor { 0 setgray HPwmSaturation } def

} if

userdict /HPwmStyle known not

{/HPwmStyle { HPwmText false charpath HPwmColor .48 setlinewidth stroke } def

} if

end

/HPwminitialize

{ HPwm /HPwmOn get

{ gsave

initmatrix

0 setgray 1 setlinewidth true setstrokeadjust 0 setlinejoin 0 setlinecap [] 0 setdash

currentpagedevice /PageSize get aload pop 2 div exch 2 div exch translate

HPwmAngle rotate

/normland where {

pop /normland load dup type /booleantype eq { { 90 rotate } if } if

} if

/HPwmFont HPwmSize selectfont

HPwmText stringwidth 2 div neg exch 2 div neg exch HPwmSize .25 mul sub moveto

HPwmStyle HPwmLocation not {true setglobal HPwm /HPwmOn false put false setglobal} if

grestore

} if

} bind def

/md where {

pop /initializepage where {

/LWinitializepage /initializepage load def

/initializepage { HPwminitialize LWinitializepage } put

}if

} if

/LWinitializepage where { pop }{

<<

/BeginPage

{ pop HPwminitialize } bind

>> setpagedevice

} ifelse

} ifelse"

*End

*HPwmSwitch Overlay/Overlay: "

% Copyright © Hewlett-Packard Co 1997

/HPwm where { pop }{

userdict begin

true setglobal /HPwm 5 dict dup begin /HPwmOn true def end def false setglobal

userdict /HPwmLocation known not {/HPwmLocation true def} if

userdict /HPwmText known not {/HPwmText (Draft) def} if

FontDirectory /HPwmFont known not {

/Helvetica-Bold findfont dup length dict begin

{1 index /FID ne {def} {pop pop} ifelse} forall

/MacEncoding where

{ pop /Encoding MacEncoding def }

{ /Encoding ISOLatin1Encoding def } ifelse

currentdict

end

/HPwmFont exch definefont pop

} if

userdict /HPwmSize known not {/HPwmSize 48 def} if

userdict /HPwmAngle known not {/HPwmAngle 45 def} if

userdict /HPwmSaturation known not

{ /HPwmSaturation

{ [ currentcmykcolor ] /DeviceCMYK setcolorspace { .55 mul } forall setcolor } def

} if

userdict /HPwmColor known not

{ /HPwmColor { 0 setgray HPwmSaturation } def

} if

userdict /HPwmStyle known not

{/HPwmStyle { HPwmText false charpath HPwmColor .48 setlinewidth stroke } def

} if

end

<<

/EndPage

{

2 eq { pop false }{

pop HPwm /HPwmOn get

{ gsave

initmatrix

0 setgray 1 setlinewidth true setstrokeadjust 0 setlinejoin 0 setlinecap [] 0 setdash

currentpagedevice /PageSize get aload pop 2 div exch 2 div exch translate

HPwmAngle rotate

/normland where {

pop /normland load dup type /booleantype eq { { 90 rotate } if } if

} if

/HPwmFont HPwmSize selectfont

HPwmText stringwidth 2 div neg exch 2 div neg exch HPwmSize .25 mul sub moveto

HPwmStyle HPwmLocation not {true setglobal HPwm /HPwmOn false put false setglobal} if

grestore

} if

true

} ifelse

} bind

>> setpagedevice

} ifelse"

*End

*CloseUI: *HPwmSwitch

*% =================================

*% Watermark Pages

*% =================================

*OpenUI *HPwmPages/Watermark Pages: PickOne

*OrderDependency: 67 AnySetup *HPwmPages

*DefaultHPwmPages: AllPages

*HPwmPages AllPages/All: "userdict /HPwmLocation true put"

*HPwmPages FirstPage/First Only: "userdict /HPwmLocation false put"

*CloseUI: *HPwmPages

*% =================================

*% Watermark Text

*% =================================

*OpenUI *HPwmText/Watermark Text: PickOne

*OrderDependency: 65 AnySetup *HPwmText

*DefaultHPwmText: Draft

*HPwmText Draft/Draft: "userdict /HPwmText (Draft) put"

*HPwmText CompanyConfidential/Company Confidential: "userdict /HPwmText (Company Confidential) put"

*HPwmText CompanyProprietary/Company Proprietary: "userdict /HPwmText (Company Proprietary) put"

*HPwmText CompanyPrivate/Company Private: "userdict /HPwmText (Company Private) put"

*HPwmText Confidential/Confidential: "userdict /HPwmText (Confidential) put"

*HPwmText Copy/Copy: "userdict /HPwmText (Copy) put"

*HPwmText Copyright/Copyright: "userdict /HPwmText (Copyright) put"

*HPwmText FileCopy/File Copy: "userdict /HPwmText (File Copy) put"

*HPwmText Final/Final: "userdict /HPwmText (Final) put"

*HPwmText ForInternalUse/For Internal Use Only: "userdict /HPwmText (For Internal Use Only) put"

*HPwmText Preliminary/Preliminary: "userdict /HPwmText (Preliminary) put"

*HPwmText Proof/Proof: "userdict /HPwmText (Proof) put"

*HPwmText ReviewCopy/Review Copy: "userdict /HPwmText (Review Copy) put"

*HPwmText Sample/Sample: "userdict /HPwmText (Sample) put"

*HPwmText TopSecret/Top Secret: "userdict /HPwmText (Top Secret) put"

*HPwmText Urgent/Urgent: "userdict /HPwmText (Urgent) put"

*HPwmText Set/Custom: "userdict /HPwmText (Custom) put"

*CloseUI: *HPwmText

*% Allows LW 8.5.1 to use custom strings

*RBISetHPwmText Data: "(Custom) 50"

*RBISetHPwmText Code: "userdict /HPwmText 3 -1 roll put"

*% =================================

*% Watermark Font

*% =================================

*OpenUI *HPwmFont/Watermark Font: PickOne

*OrderDependency: 65 AnySetup *HPwmFont

*DefaultHPwmFont: HelveticaB

*HPwmFont CourierB/Courier Bold: "

/Courier-Bold findfont dup length dict begin

{1 index /FID ne {def} {pop pop} ifelse} forall

/MacEncoding where

{ pop /Encoding MacEncoding def }

{ /Encoding ISOLatin1Encoding def } ifelse

currentdict

end

/HPwmFont exch definefont pop"

*End

*HPwmFont HelveticaB/Helvetica Bold: "

/Helvetica-Bold findfont dup length dict begin

{1 index /FID ne {def} {pop pop} ifelse} forall

/MacEncoding where

{ pop /Encoding MacEncoding def }

{ /Encoding ISOLatin1Encoding def } ifelse

currentdict

end

/HPwmFont exch definefont pop"

*End

*HPwmFont TimesB/Times Bold: "

/Times-Bold findfont dup length dict begin

{1 index /FID ne {def} {pop pop} ifelse} forall

/MacEncoding where

{ pop /Encoding MacEncoding def }

{ /Encoding ISOLatin1Encoding def } ifelse

currentdict

end

/HPwmFont exch definefont pop"

*End

*CloseUI: *HPwmFont

*% =================================

*% Watermark Size

*% =================================

*OpenUI *HPwmFontSize/Watermark Size (points): PickOne

*OrderDependency: 65 AnySetup *HPwmFontSize

*DefaultHPwmFontSize: pt48

*HPwmFontSize pt24/24: "userdict /HPwmSize 24 put"

*HPwmFontSize pt30/30: "userdict /HPwmSize 30 put"

*HPwmFontSize pt36/36: "userdict /HPwmSize 36 put"

*HPwmFontSize pt42/42: "userdict /HPwmSize 42 put"

*HPwmFontSize pt48/48: "userdict /HPwmSize 48 put"

*HPwmFontSize pt54/54: "userdict /HPwmSize 54 put"

*HPwmFontSize pt60/60: "userdict /HPwmSize 60 put"

*HPwmFontSize pt66/66: "userdict /HPwmSize 66 put"

*HPwmFontSize pt72/72: "userdict /HPwmSize 72 put"

*HPwmFontSize pt78/78: "userdict /HPwmSize 78 put"

*HPwmFontSize pt84/84: "userdict /HPwmSize 84 put"

*HPwmFontSize pt90/90: "userdict /HPwmSize 90 put"

*CloseUI: *HPwmFontSize

*% =================================

*% Watermark Angle

*% =================================

*OpenUI *HPwmTextAngle/Watermark Angle: PickOne

*OrderDependency: 65 AnySetup *HPwmTextAngle

*DefaultHPwmTextAngle: Deg45

*HPwmTextAngle Deg90/90<A1>: "userdict /HPwmAngle 90 put"

*HPwmTextAngle Deg75/75<A1>: "userdict /HPwmAngle 75 put"

*HPwmTextAngle Deg60/60<A1>: "userdict /HPwmAngle 60 put"

*HPwmTextAngle Deg45/45<A1>: "userdict /HPwmAngle 45 put"

*HPwmTextAngle Deg30/30<A1>: "userdict /HPwmAngle 30 put"

*HPwmTextAngle Deg15/15<A1>: "userdict /HPwmAngle 15 put"

*HPwmTextAngle Deg0/0<A1>: "userdict /HPwmAngle 0 put"

*HPwmTextAngle DegN15/&#8211;15<A1>: "userdict /HPwmAngle -15 put"

*HPwmTextAngle DegN30/&#8211;30<A1>: "userdict /HPwmAngle -30 put"

*HPwmTextAngle DegN45/&#8211;45<A1>: "userdict /HPwmAngle -45 put"

*HPwmTextAngle DegN60/&#8211;60<A1>: "userdict /HPwmAngle -60 put"

*HPwmTextAngle DegN75/&#8211;75<A1>: "userdict /HPwmAngle -75 put"

*HPwmTextAngle DegN90/&#8211;90<A1>: "userdict /HPwmAngle -90 put"

*CloseUI: *HPwmTextAngle

*% =================================

*% Watermark Style

*% =================================

*OpenUI *HPwmTextStyle/Watermark Style: PickOne

*OrderDependency: 65 AnySetup *HPwmTextStyle

*DefaultHPwmTextStyle: Medium

*HPwmTextStyle Thin/Thin Outline: "userdict /HPwmStyle { HPwmText false charpath HPwmColor .24 setlinewidth stroke } bind put"

*HPwmTextStyle Medium/Medium Outline: "userdict /HPwmStyle { HPwmText false charpath HPwmColor .48 setlinewidth stroke } bind put"

*HPwmTextStyle Thick/Thick Outline: "userdict /HPwmStyle { HPwmText false charpath HPwmColor .96 setlinewidth stroke } bind put"

*HPwmTextStyle Halo/Thick Outline with Halo: "userdict /HPwmStyle

{ HPwmText false charpath gsave /DeviceGray setcolorspace 1 setgray 1.8 setlinewidth stroke grestore

HPwmColor .96 setlinewidth stroke } bind put"

*End

*HPwmTextStyle Fill/Filled: "userdict /HPwmStyle { HPwmColor HPwmText show } bind put"

*CloseUI: *HPwmTextStyle

*% =================================

*% WaterMark Brightness

*% =================================

*OpenUI *HPwmBrightness/Watermark Intensity: PickOne

*OrderDependency: 63 AnySetup *HPwmBrightness

*DefaultHPwmBrightness: Medium

*HPwmBrightness Darkest/Darkest: "userdict /HPwmSaturation { null pop } put"

*HPwmBrightness Darker/Darker: "userdict /HPwmSaturation { [ currentcmykcolor ] /DeviceCMYK setcolorspace { .88 mul } forall setcolor } put"

*HPwmBrightness Dark/Dark: "userdict /HPwmSaturation { [ currentcmykcolor ] /DeviceCMYK setcolorspace { .77 mul } forall setcolor } put"

*HPwmBrightness MediumDark/Medium Dark: "userdict /HPwmSaturation { [ currentcmykcolor ] /DeviceCMYK setcolorspace { .66 mul } forall setcolor } put"

*HPwmBrightness Medium/Medium: "userdict /HPwmSaturation { [ currentcmykcolor ] /DeviceCMYK setcolorspace { .55 mul } forall setcolor } put"

*HPwmBrightness MediumLight/Medium Light: "userdict /HPwmSaturation { [ currentcmykcolor ] /DeviceCMYK setcolorspace { .44 mul } forall setcolor } put"

*HPwmBrightness Light/Light: "userdict /HPwmSaturation { [ currentcmykcolor ] /DeviceCMYK setcolorspace { .33 mul } forall setcolor } put"

*HPwmBrightness Lighter/Lighter: "userdict /HPwmSaturation { [ currentcmykcolor ] /DeviceCMYK setcolorspace { .22 mul } forall setcolor } put"

*HPwmBrightness Lightest/Lightest: "userdict /HPwmSaturation { [ currentcmykcolor ] /DeviceCMYK setcolorspace { .11 mul } forall setcolor } put"

*CloseUI: *HpwmBrightness

*FreeVM: "4000000"

*VMOption 16MB/16 - 23 MB: "4000000"

*VMOption 24MB/24 - 31 MB: "7500000"

*VMOption 32MB/32 - 63 MB: "14000000"

*VMOption 64MB/64 - 95 MB: "28000000"

*VMOption 96MB/96 - 127 MB: "48000000"

*VMOption 128MB/128 - 255 MB: "68000000"

*VMOption 256MB/256 MB or more: "144000000"

*% ===================================

*% User Interface Constraints

*% ===================================

*% If option not installed then disable appropriate feature.

*%====================================================================

*UIConstraints: *Option1 False *InputSlot Lower

*UIConstraints: *Option2 False *InputSlot LargeCapacity

*UIConstraints: *Option3 False *Duplex DuplexNoTumble

*UIConstraints: *Option3 False *Duplex DuplexTumble

*UIConstraints: *Option5 False *InputSlot Envelope

*% Don't allow these paper sizes/types in the Envelope Feeder

*%====================================================================

*UIConstraints: *PageSize Letter *InputSlot Envelope

*UIConstraints: *PageSize LetterSmall *InputSlot Envelope

*UIConstraints: *PageSize Legal *InputSlot Envelope

*UIConstraints: *PageSize LegalSmall *InputSlot Envelope

*UIConstraints: *PageSize Executive *InputSlot Envelope

*UIConstraints: *PageSize A4 *InputSlot Envelope

*UIConstraints: *PageSize A4Small *InputSlot Envelope

*UIConstraints: *PageSize A5 *InputSlot Envelope

*UIConstraints: *PageSize B5 *InputSlot Envelope

*UIConstraints: *PageSize w612h935 *InputSlot Envelope

*UIConstraints: *PageSize w558h774 *InputSlot Envelope

*UIConstraints: *MediaType Transparency *InputSlot Envelope

*UIConstraints: *PageRegion Letter *InputSlot Envelope

*UIConstraints: *PageRegion LetterSmall *InputSlot Envelope

*UIConstraints: *PageRegion Legal *InputSlot Envelope

*UIConstraints: *PageRegion LegalSmall *InputSlot Envelope

*UIConstraints: *PageRegion Executive *InputSlot Envelope

*UIConstraints: *PageRegion A4 *InputSlot Envelope

*UIConstraints: *PageRegion A4Small *InputSlot Envelope

*UIConstraints: *PageRegion A5 *InputSlot Envelope

*UIConstraints: *PageRegion B5 *InputSlot Envelope

*UIConstraints: *PageRegion w612h935 *InputSlot Envelope

*UIConstraints: *PageRegion w558h774 *InputSlot Envelope

*% Don't allow envelopes or transparencies in Tray 2

*%=====================================================

*UIConstraints: *PageSize Env10 *InputSlot Middle

*UIConstraints: *PageSize EnvMonarch *InputSlot Middle

*UIConstraints: *PageSize EnvDL *InputSlot Middle

*UIConstraints: *PageSize EnvC5 *InputSlot Middle

*UIConstraints: *PageSize EnvISOB5 *InputSlot Middle

*UIConstraints: *MediaType Transparency *InputSlot Middle

*UIConstraints: *PageRegion Env10 *InputSlot Middle

*UIConstraints: *PageRegion EnvMonarch *InputSlot Middle

*UIConstraints: *PageRegion EnvDL *InputSlot Middle

*UIConstraints: *PageRegion EnvC5 *InputSlot Middle

*UIConstraints: *PageRegion EnvISOB5 *InputSlot Middle

*% Don't allow envelopes or transparencies in Tray 3

*%=====================================================

*UIConstraints: *PageSize Env10 *InputSlot Lower

*UIConstraints: *PageSize EnvMonarch *InputSlot Lower

*UIConstraints: *PageSize EnvDL *InputSlot Lower

*UIConstraints: *PageSize EnvC5 *InputSlot Lower

*UIConstraints: *PageSize EnvISOB5 *InputSlot Lower

*UIConstraints: *MediaType Transparency *InputSlot Lower

*UIConstraints: *PageRegion Env10 *InputSlot Lower

*UIConstraints: *PageRegion EnvMonarch *InputSlot Lower

*UIConstraints: *PageRegion EnvDL *InputSlot Lower

*UIConstraints: *PageRegion EnvC5 *InputSlot Lower

*UIConstraints: *PageRegion EnvISOB5 *InputSlot Lower

*% Don't allow envelopes or transparencies in Tray 4

*%=======================================================

*UIConstraints: *PageSize Env10 *InputSlot LargeCapacity

*UIConstraints: *PageSize EnvMonarch *InputSlot LargeCapacity

*UIConstraints: *PageSize EnvDL *InputSlot LargeCapacity

*UIConstraints: *PageSize EnvC5 *InputSlot LargeCapacity

*UIConstraints: *PageSize EnvISOB5 *InputSlot LargeCapacity

*UIConstraints: *MediaType Transparency *InputSlot LargeCapacity

*UIConstraints: *PageRegion Env10 *InputSlot LargeCapacity

*UIConstraints: *PageRegion EnvMonarch *InputSlot LargeCapacity

*UIConstraints: *PageRegion EnvDL *InputSlot LargeCapacity

*UIConstraints: *PageRegion EnvC5 *InputSlot LargeCapacity

*UIConstraints: *PageRegion EnvISOB5 *InputSlot LargeCapacity

*% Don't allow A5, envelopes, transparencies or labels to be duplexed

*%=============================================================

*UIConstraints: *PageSize A5 *Duplex DuplexNoTumble

*UIConstraints: *PageSize Env10 *Duplex DuplexNoTumble

*UIConstraints: *PageSize EnvMonarch *Duplex DuplexNoTumble

*UIConstraints: *PageSize EnvDL *Duplex DuplexNoTumble

*UIConstraints: *PageSize EnvC5 *Duplex DuplexNoTumble

*UIConstraints: *PageSize EnvISOB5 *Duplex DuplexNoTumble

*UIConstraints: *MediaType Transparency *Duplex DuplexNoTumble

*UIConstraints: *MediaType Labels *Duplex DuplexNoTumble

*UIConstraints: *PageRegion A5 *Duplex DuplexNoTumble

*UIConstraints: *PageRegion Env10 *Duplex DuplexNoTumble

*UIConstraints: *PageRegion EnvMonarch *Duplex DuplexNoTumble

*UIConstraints: *PageRegion EnvDL *Duplex DuplexNoTumble

*UIConstraints: *PageRegion EnvC5 *Duplex DuplexNoTumble

*UIConstraints: *PageRegion EnvISOB5 *Duplex DuplexNoTumble

*UIConstraints: *PageSize A5 *Duplex DuplexTumble

*UIConstraints: *PageSize Env10 *Duplex DuplexTumble

*UIConstraints: *PageSize EnvMonarch *Duplex DuplexTumble

*UIConstraints: *PageSize EnvDL *Duplex DuplexTumble

*UIConstraints: *PageSize EnvC5 *Duplex DuplexTumble

*UIConstraints: *PageSize EnvISOB5 *Duplex DuplexTumble

*UIConstraints: *MediaType Transparency *Duplex DuplexTumble

*UIConstraints: *MediaType Labels *Duplex DuplexTumble

*UIConstraints: *PageRegion A5 *Duplex DuplexTumble

*UIConstraints: *PageRegion Env10 *Duplex DuplexTumble

*UIConstraints: *PageRegion EnvMonarch *Duplex DuplexTumble

*UIConstraints: *PageRegion EnvDL *Duplex DuplexTumble

*UIConstraints: *PageRegion EnvC5 *Duplex DuplexTumble

*UIConstraints: *PageRegion EnvISOB5 *Duplex DuplexTumble

*% Cannot duplex custom page sizes or feed from envelop tray

*%=============================================================

*NonUIConstraints: *CustomPageSize True *Duplex DuplexNoTumble

*NonUIConstraints: *CustomPageSize True *Duplex DuplexTumble

*NonUIConstraints: *CustomPageSize True *InputSlot Envelope

*% ===================================

*% Paper Sizes

*% ===================================

*OpenUI *PageSize: PickOne

*OrderDependency: 30 AnySetup *PageSize

*DefaultPageSize: Letter

*PageSize Letter/Letter: "

<</PageSize [612 792] /ImagingBBox null>> setpagedevice"

*End

*PageSize LetterSmall/Letter (Small): "

<</PageSize [612 792] /ImagingBBox null>> setpagedevice"

*End

*PageSize Executive/Executive: "

<</PageSize [522 756] /ImagingBBox null>> setpagedevice"

*End

*PageSize Legal/Legal: "

<</PageSize [612 1008] /ImagingBBox null>> setpagedevice"

*End

*PageSize LegalSmall/Legal (Small): "

<</PageSize [612 1008] /ImagingBBox null>> setpagedevice"

*End

*PageSize A4/A4: "

<</PageSize [595 842] /ImagingBBox null>> setpagedevice"

*End

*PageSize A4Small/A4 (Small): "

<</PageSize [595 842] /ImagingBBox null>> setpagedevice"

*End

*PageSize A5/A5: "

<</PageSize [420 595] /ImagingBBox null>> setpagedevice"

*End

*PageSize B5/JIS B5: "

<</PageSize [516 729] /ImagingBBox null>> setpagedevice"

*End

*PageSize w612h935/Executive (JIS): "

<</PageSize [612 935] /ImagingBBox null>> setpagedevice"

*End

*PageSize w558h774/16K: "

<</PageSize [558 774] /ImagingBBox null>> setpagedevice"

*End

*PageSize Env10/Env Comm10: "

<</PageSize [297 684] /ImagingBBox null>> setpagedevice"

*End

*PageSize EnvMonarch/Env Monarch: "

<</PageSize [279 540] /ImagingBBox null>> setpagedevice"

*End

*PageSize EnvDL/Env DL: "

<</PageSize [312 624] /ImagingBBox null>> setpagedevice"

*End

*PageSize EnvC5/Env C5: "

<</PageSize [459 649] /ImagingBBox null>> setpagedevice"

*End

*PageSize EnvISOB5/Env ISO B5: "

<</PageSize [499 709] /ImagingBBox null>> setpagedevice"

*End

*?PageSize: "

save

currentpagedevice /PageSize get aload pop

2 copy gt {exch} if

(Unknown)

13 dict

dup [499 709] (EnvISOB5) put

dup [312 624] (EnvDL) put

dup [459 649] (EnvC5) put

dup [279 540] (EnvMonarch) put

dup [297 684] (Env10) put

dup [558 774] (w558h774) put

dup [612 935] (w612h935) put

dup [516 729] (B5) put

dup [420 595] (A5) put

dup [595 842] (A4) put

dup [522 756] (Executive) put

dup [612 1008] (Legal) put

dup [612 792] (Letter) put

{ exch aload pop 4 index sub abs 5 le exch

5 index sub abs 5 le and

{exch pop exit} {pop} ifelse

} bind forall

= flush pop pop

restore

"

*End

*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne

*OrderDependency: 40 AnySetup *PageRegion

*DefaultPageRegion: Letter

*PageRegion Letter/Letter: "

<</PageSize [612 792] /ImagingBBox null>> setpagedevice"

*End

*PageRegion LetterSmall/Letter (Small): "

<</PageSize [612 792] /ImagingBBox null>> setpagedevice"

*End

*PageRegion Legal/Legal: "

<</PageSize [612 1008] /ImagingBBox null>> setpagedevice"

*End

*PageRegion LegalSmall/Legal (Small): "

<</PageSize [612 1008] /I

Link to comment
Share on other sites

Oops it cut off, I think it was here....

End

*PageRegion Executive/Executive: "

<</PageSize [522 756] /ImagingBBox null>> setpagedevice"

*End

*PageRegion A4/A4: "

<</PageSize [595 842] /ImagingBBox null>> setpagedevice"

*End

*PageRegion A4Small/A4 (Small): "

<</PageSize [595 842] /ImagingBBox null>> setpagedevice"

*End

*PageRegion A5/A5: "

<</PageSize [420 595] /ImagingBBox null>> setpagedevice"

*End

*PageRegion B5/JIS B5: "

<</PageSize [516 729] /ImagingBBox null>> setpagedevice"

*End

*PageRegion w612h935/Executive (JIS): "

<</PageSize [612 935] /ImagingBBox null>> setpagedevice"

*End

*PageRegion w558h774/16K: "

<</PageSize [558 774] /ImagingBBox null>> setpagedevice"

*End

*PageRegion Env10/Env Comm10: "

<</PageSize [297 684] /ImagingBBox null>> setpagedevice"

*End

*PageRegion EnvMonarch/Env Monarch: "

<</PageSize [279 540] /ImagingBBox null>> setpagedevice"

*End

*PageRegion EnvDL/Env DL: "

<</PageSize [312 624] /ImagingBBox null>> setpagedevice"

*End

*PageRegion EnvC5/Env C5: "

<</PageSize [459 649] /ImagingBBox null>> setpagedevice"

*End

*PageRegion EnvISOB5/Env ISO B5: "

<</PageSize [499 709] /ImagingBBox null>> setpagedevice"

*End

*CloseUI: *PageRegion

*DefaultImageableArea: Letter

*ImageableArea Letter/Letter: "12.24 12.06 599.76 780.06"

*ImageableArea LetterSmall/Letter (Small): "30.00 31.00 582.00 761.00"

*ImageableArea Legal/Legal: "12.24 12.06 599.76 996.06"

*ImageableArea LegalSmall/Legal (Small): "64.00 54.00 548.00 954.00"

*ImageableArea Executive/Executive: "13.32 12.06 508.68 744.06"

*ImageableArea A4/A4: "13.44 12.06 581.76 829.74"

*ImageableArea A4Small/A4 (Small): "28.00 30.00 566.00 811.00"

*ImageableArea A5/A5: "12.00 12.00 408.00 583.00"

*ImageableArea B5/JIS B5: "12.50 12.50 503.50 716.50"

*ImageableArea w612h935/Executive (JIS): "12.00 12.00 599.76 922.76"

*ImageableArea w558h774/16K: "12.00 12.00 545.76 761.76"

*ImageableArea Env10/Env Comm10: "12.12 12.06 284.76 672.06"

*ImageableArea EnvMonarch/Env Monarch: "12.72 12.06 266.16 528.06"

*ImageableArea EnvDL/Env DL: "13.80 12.06 297.96 611.58"

*ImageableArea EnvC5/Env C5: "12.60 12.06 446.52 637.02"

*ImageableArea EnvISOB5/Env ISO B5: "13.20 12.06 485.52 696.54"

*?ImageableArea: "

save

/cvp { ( ) cvs print ( ) print } bind def

/upperright {10000 mul floor 10000 div} bind def

/lowerleft {10000 mul ceiling 10000 div} bind def

newpath clippath pathbbox

4 -2 roll exch 2 {lowerleft cvp} repeat

exch 2 {upperright cvp} repeat flush

restore

"

*End

*DefaultPaperDimension: Letter

*PaperDimension Letter/Letter: "612 792"

*PaperDimension LetterSmall/Letter (Small): "612 792"

*PaperDimension Legal/Legal: "612 1008"

*PaperDimension LegalSmall/Legal (Small): "612 1008"

*PaperDimension Executive/Executive: "522 756"

*PaperDimension A4/A4: "595 842"

*PaperDimension A4Small/A4 (Small): "595 842"

*PaperDimension A5/A5: "420 595"

*PaperDimension B5/JIS B5: "516 729"

*PaperDimension w612h935/Executive (JIS): "612 935"

*PaperDimension w558h774/16K: "558 774"

*PaperDimension Env10/Env Comm10: "297 684"

*PaperDimension EnvMonarch/Env Monarch: "279 540"

*PaperDimension EnvDL/Env DL: "312 624"

*PaperDimension EnvC5/Env C5: "459 649"

*PaperDimension EnvISOB5/Env ISO B5: "499 709"

*LandscapeOrientation: Plus90

*%==========================================

*% Media Type

*%=========================================

*OpenUI *MediaType/Media Type: PickOne

*OrderDependency: 20 AnySetup *MediaType

*DefaultMediaType: None

*MediaType None/None: "

<</MediaType null>> setpagedevice"

*End

*MediaType Plain/Plain: "

<</MediaType (Plain)>> setpagedevice"

*End

*MediaType Preprinted/Preprinted: "

<</MediaType (Preprinted)>> setpagedevice"

*End

*MediaType Letterhead/Letterhead: "

<</MediaType (Letterhead)>> setpagedevice"

*End

*MediaType Transparency/Transparency: "

<</MediaType (Transparency)>> setpagedevice"

*End

*MediaType Prepunched/Prepunched: "

<</MediaType (Prepunched)>> setpagedevice"

*End

*MediaType Labels/Labels: "

<</MediaType (Labels)>> setpagedevice"

*End

*MediaType Bond/Bond: "

<</MediaType (Bond)>> setpagedevice"

*End

*MediaType Recycled/Recycled: "

<</MediaType (Recycled)>> setpagedevice"

*End

*MediaType Color/Color: "

<</MediaType (Color)>> setpagedevice"

*End

*MediaType Rough/Rough: "

<</MediaType (Rough)>> setpagedevice"

*End

*MediaType Card_Stock/Card_Stock: "

<</MediaType (Card Stock)>> setpagedevice"

*End

*?MediaType: "

save

currentpagedevice /InputAttributes get dup

/Priority get

0 get get

/MediaType get

(Card Stock) anchorsearch

{pop pop (Card_Stock)} if

= flush

restore

"

*End

*CloseUI: *MediaType

*%=========================================

*% Custom Paper Support

*%=========================================

*%Orientation and Margin (offsets) values are not utilized

*LeadingEdge: ""

*DefaultLeadingEdge: PreferLong

*MaxMediaWidth: "612"

*MaxMediaHeight: "1008"

*HWMargins: 16 16 16 16

*CustomPageSize True: "

pop pop pop 2 copy gt {exch} if

<</DeferredMediaSelection true /PageSize [ 7 -2 roll ] /ImagingBBox null >>

setpagedevice

"

*End

*ParamCustomPageSize Width: 1 points 216 612

*ParamCustomPageSize Height: 2 points 360 1008

*ParamCustomPageSize WidthOffset: 3 points 0 0

*ParamCustomPageSize HeightOffset: 4 points 0 0

*ParamCustomPageSize Orientation: 5 int 0 0

*RequiresPageRegion All: True

*% ======================================

*% Media Handling Features (Paper Sources)

*% ======================================

*OpenUI *InputSlot: PickOne

*OrderDependency: 20 AnySetup *InputSlot

*DefaultInputSlot: Middle

*InputSlot Upper/Tray 1: "

<</ManualFeed false/MediaPosition 3>> setpagedevice"

*End

*InputSlot Middle/Tray 2: "

<</ManualFeed false/MediaPosition 0>> setpagedevice"

*End

*InputSlot Lower/Tray 3: "

<</ManualFeed false/MediaPosition 1>> setpagedevice"

*End

*InputSlot LargeCapacity/Tray 4: "

<</ManualFeed false/MediaPosition 4>> setpagedevice"

*End

*InputSlot Envelope/Envelope Feeder: "

<</ManualFeed false/MediaPosition 2>> setpagedevice"

*End

*?InputSlot: "

save

currentpagedevice /InputAttributes get /Priority get

aload pop pop pop pop

[(Middle) (Lower) (Envelope) (Upper) (LargeCapacity)] exch get = flush

restore

"

*End

*CloseUI: *InputSlot

*% Enable/Disable Manual Feed

*OpenUI *ManualFeed/Tray 1 (Manual): Boolean

*OrderDependency: 20 AnySetup *ManualFeed

*DefaultManualFeed: False

*ManualFeed True/True: "

<</ManualFeed true>> setpagedevice"

*End

*ManualFeed False/False: "

<</ManualFeed false>> setpagedevice"

*End

*?ManualFeed: "

save

currentpagedevice /ManualFeed get

{(True)}{(False)}ifelse = flush

restore

"

*End

*CloseUI: *ManualFeed

*% ===================================

*% Gray Levels and Halftoning

*% ===================================

*ScreenFreq: "106.0"

*ScreenAngle: "45.0"

*ResScreenFreq 300x300dpi/300 dpi: "60.0"

*ResScreenAngle 300x300dpi/300 dpi: "45.0"

*ResScreenFreq 600x600dpi/600 dpi: "106.0"

*ResScreenAngle 600x600dpi/600 dpi: "45.0"

*ResScreenFreq 1200x1200dpi/ProRes 1200: "180.0"

*ResScreenAngle 1200x1200dpi/ProRes 1200: "45.0"

*DefaultScreenProc: Dot

*ScreenProc HPEnhanced: "

{ /EnhancedHalftone /Halftone findresource }"

*End

*ScreenProc Dot: "

{abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1

sub }{dup mul exch dup mul add 1 exch sub }ifelse }

"

*End

*ScreenProc Line: "{ pop }"

*ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"

*DefaultTransfer: Null

*Transfer Null: "{ }"

*Transfer Null.Inverse: "{ 1 exch sub }"

*DefaultHalftoneType: 9

*AccurateScreensSupport: False

*OpenUI *HPHalftone/Levels of Gray: PickOne

*OrderDependency: 10 DocumentSetup *HPHalftone

*DefaultHPHalftone: PrinterDefault

*HPHalftone PrinterDefault/Printer&#8217;s Current Setting: ""

*HPHalftone Enhanced/Enhanced: "

<< /Install {

currentpagedevice /HWResolution get

dup 0 get 600 eq exch 1 get 600 eq and

{ /EnhancedColorRendering600 } { /EnhancedColorRendering } ifelse

/ColorRendering findresource setcolorrendering

/EnhancedHalftone /Halftone findresource sethalftone

{ } settransfer false setstrokeadjust

}

>> setpagedevice

currentpagedevice /HWResolution get dup 0 get 600 eq exch 1 get 600 eq and

{

<< /PostRenderingEnhance true

/PostRenderingEnhanceDetails << /REValue 0 /Type 8 >>

>> setpagedevice

} if

/setscreen { pop pop pop } def

/setcolorscreen { pop pop pop pop pop pop pop pop pop pop pop pop } def

/sethalftone { pop } def

"

*End

*HPHalftone Standard/Standard: "

<< /Install {

currentpagedevice /HWResolution get

dup 0 get 600 eq exch 1 get 600 eq and dup

currentpagedevice /PostRenderingEnhance get

currentpagedevice /PostRenderingEnhanceDetails get /REValue get 0 ne and

{ {/DefaultColorRenderingRE600} {/DefaultColorRenderingRE} ifelse}

{ {/DefaultColorRendering600} {/DefaultColorRendering} ifelse} ifelse

/ColorRendering findresource setcolorrendering

{ /DefaultHalftone600 } {/DefaultHalftone} ifelse

/Halftone findresource sethalftone

{} settransfer false setstrokeadjust

} >> setpagedevice

currentpagedevice /HWResolution get dup 0 get 600 eq exch 1 get 600 eq and

{

<< /PostRenderingEnhance true /PostRenderingEnhanceDetails

<< /REValue 0 /Type 8 >> >> setpagedevice

} if

"

*End

*?HPHalftone: "

save

currenthalftone /HalftoneType get 9 eq

{(Enhanced)} {(Standard)} ifelse = flush

restore

"

*End

*CloseUI: *HPHalftone

*%===================================

*% Resolution

*%===================================

*% Select Printer Resolution

*OpenUI *Resolution/Printer Resolution: PickOne

*DefaultResolution: 600x600x2dpi

*OrderDependency: 5 DocumentSetup *Resolution

*Resolution 1200x1200dpi/ProRes 1200: "

<</HWResolution [1200 1200] /PreRenderingEnhance false>> setpagedevice"

*End

*Resolution 600x600x2dpi/FastRes 1200: "

<</HWResolution [600 600] /PreRenderingEnhance true>> setpagedevice"

*End

*Resolution 600x600dpi/600 dpi: "

<</HWResolution [600 600] /PreRenderingEnhance false>> setpagedevice"

*End

*Resolution 300x300dpi/300 dpi: "

<</HWResolution [300 300] /PreRenderingEnhance false>> setpagedevice"

*End

*?Resolution: "

save

currentpagedevice /HWResolution get

0 get

( ) cvs print

(dpi)

= flush

restore

"

*End

*CloseUI: *Resolution

*%==================================

*% EconoMode

*%==================================

*OpenUI *EconoMode/EconoMode: PickOne

*DefaultEconoMode: PrinterDefault

*OrderDependency: 10 AnySetup *EconoMode

*EconoMode PrinterDefault/Printer&#8217;s Current Setting: ""

*EconoMode True/Save Toner: "

<</EconoMode true>> setpagedevice"

*End

*EconoMode False/Highest Quality: "

<</EconoMode false>> setpagedevice"

*End

*?EconoMode: "

save

currentpagedevice /EconoMode get

{(True)}{(False)}ifelse = flush

restore

"

*End

*CloseUI: *EconoMode

*%====================================

*% Duplex

*%====================================

*OpenUI *Duplex/2-Sided Printing: PickOne

*OrderDependency: 50 AnySetup *Duplex

*DefaultDuplex: None

*Duplex None/Off (1-Sided): "

<</Duplex false>> setpagedevice"

*End

*Duplex DuplexNoTumble/Flip on Long Edge (Standard): "

<</Duplex true /Tumble false>> setpagedevice"

*End

*Duplex DuplexTumble/Flip on Short Edge: "

<</Duplex true /Tumble true>> setpagedevice"

*End

*?Duplex: "

save

currentpagedevice /Duplex known

false ne

{ currentpagedevice /Duplex get

{ currentpagedevice /Tumble get

{(DuplexTumble)}{(DuplexNoTumble)}ifelse

} { (None)} ifelse

}{(None)} ifelse = flush

restore

"

*End

*CloseUI: *Duplex

*%+====================================

*% Resolution Enhancement

*%=====================================

*OpenUI *Smoothing/Resolution Enhancement: PickOne

*OrderDependency: 20 DocumentSetup *Smoothing

*DefaultSmoothing: PrinterDefault

*Smoothing PrinterDefault/Printer&#8217;s Current Setting: ""

*Smoothing On/On: "

<< /PostRenderingEnhance true

/PostRenderingEnhanceDetails << /REValue 2 /Type 8 >>

>> setpagedevice"

*End

*Smoothing Off/Off: "

<< /PostRenderingEnhance true

/PostRenderingEnhanceDetails << /REValue 0 /Type 8 >>

>> setpagedevice"

*End

*?Smoothing: "

save

currentpagedevice /PostRenderingEnhanceDetails get /REValue get

[(Off) (On) (On) (On)] exch get print

restore

"

*End

*CloseUI: *Smoothing

*%====================================

*% Collation

*%====================================

*OpenUI *Collate/Collate: Boolean

*OrderDependency: 12 AnySetup *Collate

*DefaultCollate: True

*Collate True/On (turn off in application): "

<</Collate true>> setpagedevice"

*End

*Collate False/Off: "

<</Collate false>> setpagedevice"

*End

*?Collate: "

save

currentpagedevice /Collate get

{(True)}{(False)}ifelse = flush

restore

"

*End

*CloseUI: *Collate

*% ===================================

*% Color Control

*% ===================================

*DefaultColorSep: ProcessBlack.106lpi.600x600dpi/106 lpi / 600 dpi

*InkName: ProcessBlack/Process Black

*InkName: CustomColor/Custom Color

*InkName: ProcessCyan/Process Cyan

*InkName: ProcessMagenta/Process Magenta

*InkName: ProcessYellow/Process Yellow

*% For 53 lpi / 300x300 dpi ===============================

*ColorSepScreenAngle ProcessBlack.53lpi.300x300dpi/53 lpi /300 dpi: "45.0"

*ColorSepScreenAngle CustomColor.53lpi.300x300dpi/53 lpi /300 dpi: "45.0"

*ColorSepScreenAngle ProcessCyan.53lpi.300x300dpi/53 lpi /300 dpi: "71.5651"

*ColorSepScreenAngle ProcessMagenta.53lpi.300x300dpi/53 lpi /300 dpi: "18.4349"

*ColorSepScreenAngle ProcessYellow.53lpi.300x300dpi/53 lpi /300 dpi: "0.0"

*ColorSepScreenFreq ProcessBlack.53lpi.300x300dpi/53 lpi /300 dpi: "53.033"

*ColorSepScreenFreq CustomColor.53lpi.300x300dpi/53 lpi /300 dpi: "53.033"

*ColorSepScreenFreq ProcessCyan.53lpi.300x300dpi/53 lpi /300 dpi: "47.4342"

*ColorSepScreenFreq ProcessMagenta.53lpi.300x300dpi/53 lpi /300 dpi: "47.4342"

*ColorSepScreenFreq ProcessYellow.53lpi.300x300dpi/53 lpi /300 dpi: "50.0"

*% For 60 lpi / 300 dpi ===============================

*ColorSepScreenAngle ProcessBlack.60lpi.300x300dpi/60 lpi /300 dpi: "45"

*ColorSepScreenAngle CustomColor.60lpi.300x300dpi/60 lpi /300 dpi: "45"

*ColorSepScreenAngle ProcessCyan.60lpi.300x300dpi/60 lpi /300 dpi: "15"

*ColorSepScreenAngle ProcessMagenta.60lpi.300x300dpi/60 lpi /300 dpi: "75"

*ColorSepScreenAngle ProcessYellow.60lpi.300x300dpi/60 lpi /300 dpi: "0"

*ColorSepScreenFreq ProcessBlack.60lpi.300x300dpi/60 lpi /300 dpi: "60"

*ColorSepScreenFreq CustomColor.60lpi.300x300dpi/60 lpi /300 dpi: "60"

*ColorSepScreenFreq ProcessCyan.60lpi.300x300dpi/60 lpi /300 dpi: "60"

*ColorSepScreenFreq ProcessMagenta.60lpi.300x300dpi/60 lpi /300 dpi: "60"

*ColorSepScreenFreq ProcessYellow.60lpi.300x300dpi/60 lpi /300 dpi: "60"

*% For 85 lpi / 600 dpi (5,5,2,6,6,2,20/3,0) =====================

*ColorSepScreenAngle ProcessBlack.85lpi.600x600dpi/85 lpi /600 dpi: "45.0"

*ColorSepScreenAngle CustomColor.85lpi.600x600dpi/85 lpi /600 dpi: "45.0"

*ColorSepScreenAngle ProcessCyan.85lpi.600x600dpi/85 lpi /600 dpi: "71.5651"

*ColorSepScreenAngle ProcessMagenta.85lpi.600x600dpi/85 lpi /600 dpi: "18.4349"

*ColorSepScreenAngle ProcessYellow.85lpi.600x600dpi/85 lpi /600 dpi: "0.0"

*ColorSepScreenFreq ProcessBlack.85lpi.600x600dpi/85 lpi /600 dpi: "84.8528"

*ColorSepScreenFreq CustomColor.85lpi.600x600dpi/85 lpi /600 dpi: "84.8528"

*ColorSepScreenFreq ProcessCyan.85lpi.600x600dpi/85 lpi /600 dpi: "94.8683"

*ColorSepScreenFreq ProcessMagenta.85lpi.600x600dpi/85 lpi /600 dpi: "94.8683"

*ColorSepScreenFreq ProcessYellow.85lpi.600x600dpi/85 lpi /600 dpi: "30.0"

*ColorSepScreenProc ProcessYellow.85lpi.600x600dpi/85 lpi /600 dpi: "

{1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch

1 add 2 div 3 mul dup floor sub 2 mul 1 sub exch

abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1

sub }{dup mul exch dup mul add 1 exch sub }ifelse }"

*End

*% For 106 lpi /300 dpi ===============================

*ColorSepScreenAngle ProcessBlack.106lpi.300x300dpi/106 lpi /300 dpi: "45.0"

*ColorSepScreenAngle CustomColor.106lpi.300x300dpi/106 lpi /300 dpi: "45.0"

*ColorSepScreenAngle ProcessCyan.106lpi.300x300dpi/106 lpi /300 dpi: "71.5651"

*ColorSepScreenAngle ProcessMagenta.106lpi.300x300dpi/106 lpi /300 dpi: "18.4349"

*ColorSepScreenAngle ProcessYellow.106lpi.300x300dpi/106 lpi /300 dpi: "0.0"

*ColorSepScreenFreq ProcessBlack.106lpi.300x300dpi/106 lpi /300 dpi: "106.066"

*ColorSepScreenFreq CustomColor.106lpi.300x300dpi/106 lpi /300 dpi: "106.066"

*ColorSepScreenFreq ProcessCyan.106lpi.300x300dpi/106 lpi /300 dpi: "94.8683"

*ColorSepScreenFreq ProcessMagenta.106lpi.300x300dpi/106 lpi /300 dpi: "94.8683"

*ColorSepScreenFreq ProcessYellow.106lpi.300x300dpi/106 lpi /300 dpi: "100.0"

*% For 71 lpi / 600x600 dpi ===============================

*ColorSepScreenAngle ProcessBlack.71lpi.600x600dpi/71 lpi /600 dpi: "45.0"

*ColorSepScreenAngle CustomColor.71lpi.600x600dpi/71 lpi /600 dpi: "45.0"

*ColorSepScreenAngle ProcessCyan.71lpi.600x600dpi/71 lpi /600 dpi: "71.5651"

*ColorSepScreenAngle ProcessMagenta.71lpi.600x600dpi/71 lpi /600 dpi: "18.4349"

*ColorSepScreenAngle ProcessYellow.71lpi.600x600dpi/71 lpi /600 dpi: "0.0"

*ColorSepScreenFreq ProcessBlack.71lpi.600x600dpi/71 lpi /600 dpi: "70.7107"

*ColorSepScreenFreq CustomColor.71lpi.600x600dpi/71 lpi /600 dpi: "70.7107"

*ColorSepScreenFreq ProcessCyan.71lpi.600x600dpi/71 lpi /600 dpi: "63.2456"

*ColorSepScreenFreq ProcessMagenta.71lpi.600x600dpi/71 lpi /600 dpi: "63.2456"

*ColorSepScreenFreq ProcessYellow.71lpi.600x600dpi/71 lpi /600 dpi: "66.6667"

*% For 106 lpi /600 dpi ===============================

*ColorSepScreenAngle ProcessBlack.106lpi.600x600dpi/106 lpi /600 dpi: "45.0"

*ColorSepScreenAngle CustomColor.106lpi.600x600dpi/106 lpi /600 dpi: "45.0"

*ColorSepScreenAngle ProcessCyan.106lpi.600x600dpi/106 lpi /600 dpi: "71.5651"

*ColorSepScreenAngle ProcessMagenta.106lpi.600x600dpi/106 lpi /600 dpi: "18.4349"

*ColorSepScreenAngle ProcessYellow.106lpi.600x600dpi/106 lpi /600 dpi: "0.0"

*ColorSepScreenFreq ProcessBlack.106lpi.600x600dpi/106 lpi /600 dpi: "106.066"

*ColorSepScreenFreq CustomColor.106lpi.600x600dpi/106 lpi /600 dpi: "106.066"

*ColorSepScreenFreq ProcessCyan.106lpi.600x600dpi/106 lpi /600 dpi: "94.8683"

*ColorSepScreenFreq ProcessMagenta.106lpi.600x600dpi/106 lpi /600 dpi: "94.8683"

*ColorSepScreenFreq ProcessYellow.106lpi.600x600dpi/106 lpi /600 dpi: "100.0"

*% For 141 lpi / 1200x1200 dpi ================================

*ColorSepScreenAngle ProcessBlack.141lpi.1200x1200dpi/141 lpi /ProRes 1200: "45.0"

*ColorSepScreenAngle CustomColor.141lpi.1200x1200dpi/141 lpi /ProRes 1200: "45.0"

*ColorSepScreenAngle ProcessCyan.141lpi.1200x1200dpi/141 lpi /ProRes 1200: "71.5651"

*ColorSepScreenAngle ProcessMagenta.141lpi.1200x1200dpi/141 lpi /ProRes 1200: "18.4349"

*ColorSepScreenAngle ProcessYellow.141lpi.1200x1200dpi/141 lpi /ProRes 1200: "0.0"

*ColorSepScreenFreq ProcessBlack.141lpi.1200x1200dpi/141 lpi /ProRes 1200: "141.0"

*ColorSepScreenFreq CustomColor.141lpi.1200x1200dpi/141 lpi /ProRes 1200: "141.0"

*ColorSepScreenFreq ProcessCyan.141lpi.1200x1200dpi/141 lpi /ProRes 1200: "141.0"

*ColorSepScreenFreq ProcessMagenta.141lpi.1200x1200dpi/141 lpi /ProRes 1200: "141.0"

*ColorSepScreenFreq ProcessYellow.141lpi.1200x1200dpi/141 lpi /ProRes 1200: "141.0"

*% For 180 lpi / 1200 dpi =========================

*ColorSepScreenAngle ProcessBlack.180lpi.1200dpi/180 lpi / 1200 dpi: "45.0"

*ColorSepScreenAngle CustomColor.180lpi.1200dpi/180 lpi / 1200 dpi: "45.0"

*ColorSepScreenAngle ProcessCyan.180lpi.1200dpi/180 lpi / 1200 dpi: "71.5651"

*ColorSepScreenAngle ProcessMagenta.180lpi.1200dpi/180 lpi / 1200 dpi: "18.4349"

*ColorSepScreenAngle ProcessYellow.180lpi.1200dpi/180 lpi / 1200 dpi: "0.0"

*ColorSepScreenFreq ProcessBlack.180lpi.1200dpi/180 lpi / 1200 dpi: "180"

*ColorSepScreenFreq CustomColor.180lpi.1200dpi/180 lpi / 1200 dpi: "180"

*ColorSepScreenFreq ProcessCyan.180lpi.1200dpi/180 lpi / 1200 dpi: "161"

*ColorSepScreenFreq ProcessMagenta.180lpi.1200dpi/180 lpi / 1200 dpi: "161"

*ColorSepScreenFreq ProcessYellow.180lpi.1200dpi/180 lpi / 1200 dpi: "170"

*% ===================================

*% Font Information

*% ===================================

*DefaultFont: Courier

*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM

*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM

*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM

*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM

*Font Bookman-Demi: Standard "(001.004S)" Standard ROM

*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM

*Font Bookman-Light: Standard "(001.004S)" Standard ROM

*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM

*Font Courier: Standard "(002.004S)" Standard ROM

*Font Courier-Bold: Standard "(002.004S)" Standard ROM

*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM

*Font Courier-Oblique: Standard "(002.004S)" Standard ROM

*Font Helvetica: Standard "(001.006S)" Standard ROM

*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM

*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM

*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM

*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM

*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM

*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM

*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM

*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM

*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM

*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM

*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM

*Font Palatino-Bold: Standard "(001.005S)" Standard ROM

*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM

*Font Palatino-Italic: Standard "(001.005S)" Standard ROM

*Font Palatino-Roman: Standard "(001.005S)" Standard ROM

*Font Symbol: Special "(001.007S)" Special ROM

*Font Times-Bold: Standard "(001.007S)" Standard ROM

*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM

*Font Times-Italic: Standard "(001.007S)" Standard ROM

*Font Times-Roman: Standard "(001.007S)" Standard ROM

*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM

*Font ZapfDingbats: Special "(001.004S)" Special ROM

*Font Albertus-ExtraBold: Standard "(001.008S)" Standard ROM

*Font Albertus-Medium: Standard "(001.008S)" Standard ROM

*Font AntiqueOlive: Standard "(001.008S)" Standard ROM

*Font AntiqueOlive-Bold: Standard "(001.008S)" Standard ROM

*Font AntiqueOlive-Italic: Standard "(001.008S)" Standard ROM

*Font Arial: Standard "(001.008S)" Standard ROM

*Font Arial-Bold: Standard "(001.008S)" Standard ROM

*Font Arial-BoldItalic: Standard "(001.008S)" Standard ROM

*Font Arial-Italic: Standard "(001.008S)" Standard ROM

*Font CGOmega: Standard "(001.008S)" Standard ROM

*Font CGOmega-Bold: Standard "(001.008S)" Standard ROM

*Font CGOmega-BoldItalic: Standard "(001.008S)" Standard ROM

*Font CGOmega-Italic: Standard "(001.008S)" Standard ROM

*Font CGTimes: Standard "(001.008S)" Standard ROM

*Font CGTimes-Bold: Standard "(001.008S)" Standard ROM

*Font CGTimes-BoldItalic: Standard "(001.008S)" Standard ROM

*Font CGTimes-Italic: Standard "(001.008S)" Standard ROM

*Font Clarendon-Condensed-Bold: Standard "(001.008S)" Standard ROM

*Font Coronet: Standard "(001.008S)" Standard ROM

*Font CourierHP: Standard "(001.008S)" Standard ROM

*Font CourierHP-Bold: Standard "(001.008S)" Standard ROM

*Font CourierHP-BoldItalic: Standard "(001.008S)" Standard ROM

*Font CourierHP-Italic: Standard "(001.008S)" Standard ROM

*Font Garamond-Antiqua: Standard "(001.008S)" Standard ROM

*Font Garamond-Halbfett: Standard "(001.008S)" Standard ROM

*Font Garamond-Kursiv: Standard "(001.008S)" Standard ROM

*Font Garamond-KursivHalbfett: Standard "(001.008S)" Standard ROM

*Font LetterGothic: Standard "(001.008S)" Standard ROM

*Font LetterGothic-Bold: Standard "(001.008S)" Standard ROM

*Font LetterGothic-Italic: Standard "(001.008S)" Standard ROM

*Font Marigold: Standard "(001.008S)" Standard ROM

*Font SymbolMT: Standard "(001.008S)" Standard ROM

*Font TimesNewRoman: Standard "(001.008S)" Standard ROM

*Font TimesNewRoman-Bold: Standard "(001.008S)" Standard ROM

*Font TimesNewRoman-BoldItalic: Standard "(001.008S)" Standard ROM

*Font TimesNewRoman-Italic: Standard "(001.008S)" Standard ROM

*Font Univers-Bold: Standard "(001.008S)" Standard ROM

*Font Univers-BoldItalic: Standard "(001.008S)" Standard ROM

*Font Univers-Condensed-Bold: Standard "(001.008S)" Standard ROM

*Font Univers-Condensed-BoldItalic: Standard "(001.008S)" Standard ROM

*Font Univers-Condensed-Medium: Standard "(001.008S)" Standard ROM

*Font Univers-Condensed-MediumItalic: Standard "(001.008S)" Standard ROM

*Font Univers-Medium: Standard "(001.008S)" Standard ROM

*Font Univers-MediumItalic: Standard "(001.008S)" Standard ROM

*Font Wingdings-Regular: Standard "(001.008S)" Standard ROM

*?FontQuery: "

save

{ count 1 gt

{ exch dup 127 string cvs (/) print print (: print

/Font resourcestatus {pop pop (Yes)} {(No)} ifelse =

} { exit } ifelse

} bind loop

(*) = flush

restore

"

*End

*?FontList: "

save

(*) {cvn ==} 128 string /Font resourceforall

(*) = flush

restore

"

*End

*% ===================================

*% Printer Messages

*% ===================================

*Message: "%%[ exitserver: permanent state may be changed ]%%"

*Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"

*Message: "FontName not found, using Courier"

*% Status (format: %%[ status: <one of these> ] %%)

*Status: "warming up"/warming up

*Status: "idle"/idle

*Status: "busy"/busy

*Status: "waiting"/waiting

*Status: "printing"/printing

*Status: "initializing"/initializing

*Status: "printing test page"/printing test page

*Status: "PrinterError: cover open or no toner cartridge"/cover open or no toner cartridge

*Status: "PrinterError: cover open"/cover open

*Status: "PrinterError: needs attention"/needs attention

*Status: "PrinterError: no toner cartridge"/no toner cartridge

*Status: "PrinterError: warming up"/warming up

*Status: "PrinterError: manual feed"/manual feed

*Status: "PrinterError: out of paper"/out of paper

*Status: "PrinterError: Paper Jam"/Paper Jam

*Status: "PrinterError: paper jam"/paper jam

*Status: "PrinterError: page protect needed"/page protect needed

*Status: "PrinterError: out of memory"/out of memory

*Status: "PrinterError: output bin full"/output bin full

*Status: "PrinterError: resetting printer"/resetting printer

*Status: "PrinterError: toner is low"/toner is low

*Status: "PrinterError: off line"/off line

*% Printer Error (format: %%[ PrinterError: <one of these> ]%%)

*PrinterError: "cover open or no toner cartridge"/cover open or no toner cartridge

*PrinterError: "cover open"/cover open

*PrinterError: "needs attention"/needs attention

*PrinterError: "no toner cartridge"/no toner cartridge

*PrinterError: "warming up"/warming up

*PrinterError: "manual feed"/manual feed

*PrinterError: "out of paper"/out of paper

*PrinterError: "Paper Jam"/Paper Jam

*PrinterError: "paper jam"/paper jam

*PrinterError: "page protect needed"/page protect needed

*PrinterError: "out of memory"/out of memory

*PrinterError: "output bin full"/output bin full

*PrinterError: "resetting printer"/resetting printer

*PrinterError: "toner is low"/toner is low

*PrinterError: "off line"/off line

*% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )

*Source: "BiTronics"/BiTronics

*Source: "other I/O"/other I/O

*Source: "AppleTalk"/AppleTalk

*Source: "APPLETALK"/AppleTalk

*Source: "ATALK"/AppleTalk

*Source: "LocalTalk"/LocalTalk

*Source: "Parallel"/Parallel

*Source: "EtherTalk"/EtherTalk

*Source: "NOVELL"/NOVELL

*Source: "DLC/LLC"/DLC/LLC

*Source: "ETALK"/EtherTalk

*Source: "TCP/IP"/TCP/IP

*Password: "()"

*ExitServer: "

count 0 eq

{ false } { true exch startjob } ifelse

not {

(WARNING: Cannot modify initial VM.) =

(Missing or invalid password.) =

(Please contact the author of this software.) = flush quit

} if

"

*End

*Reset: "

count 0 eq

{ false } { true exch startjob } ifelse

not {

(WARNING: Cannot reset printer.) =

(Missing or invalid password.) =

(Please contact the author of this software.) = flush quit

} if

systemdict /quit get exec

(WARNING : Printer Reset Failed.) = flush

"

*End

*% ===================================

*% QuarkXPress keywords

*% ===================================

*QRKDoNonLocalDCS: False

*%QRKPatch sectionOption: " "

*%QRKCustomHalftone sectionOption: " "

*% ===========================================

*% For "HP LaserJet 4100 Series" version 3010.107

*% ===========================================

Link to comment
Share on other sites

This is a much more complex ppd file than I'm familiar with, but there doesn't seem to be any other tray selection code anywhere else. The only suggestion I can make is to change this line:

*DefaultInputSlot: Middle

to

*DefaultInputSlot: Lower

or possibly

*DefaultInputSlot: Upper

and see if that makes any difference. If that doesn't work, try printing to a file and then open that print file with a word processor and search for snippets of tray select code to see what is actually getting inserted into the print file. You could search for occurences of "<</ManualFeed false/MediaPosition" or "setpagedevice". If you don't find any of these, it's an indication that the driver is just going with the default tray, and you will have to somehow get it to pick something other than default. That is why I suggested changing the code that indicates the default tray, so that the driver may then be forced to insert the tray select code for the non-default.

Link to comment
Share on other sites

  • 2 weeks later...

After 1 week of trying, I have had partial success. The modifications you suggested allow the modified PPD file to work. However, it only works with the manual input slot (tray 1) closed. If it is open the printer defaults to this input. I have tried playing around with the maual feed true/false lines of codes with all different combinations without success. In a few instances I broke the PPD file so it defaulted to generic (but this did not work either)

Do you have any suggestions to shut off the manual feed or ignore tray 1?

Thanks,

Bob

Link to comment
Share on other sites

Well at least you must be on the right track.

With the normal ppd file, and with the manual feed slot open, can you manually select a tray from the print dialog and have it work correctly? If not, then this is a hardware constraint and nothing you can do about it. But, if so, then there must be some other code in the ppd file that controls it. My suggestion is to play around with any of the ppd code that has words like manual feed, or input slot etc. and change true to false and vice versa.

At some point, maybe it's just cheaper to buy a couple of extra printers. It's far easier to switch printers than it is to switch paper trays.

Link to comment
Share on other sites

This topic is 7785 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.