Canon IR5075 paper tray selection postscript file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tharg
    • Jul 2025

    #1

    Canon IR5075 paper tray selection postscript file

    Hi -

    This forum kept coming up in my google searches for a solution so I hope that someone here might be able to help me.

    This example code at the start of my psotscript file allows me to select different trays for differetnt pages etc. with the Canon IR5075 :

    Code:
    %%BeginFeature: *RangeNum0 2-9,11-37,39-47,49-80,82-88,90-101,103-105,107-114,116-117,119-121,123-125
    %%EndFeature
    %%BeginFeature: *RangeProp0_1 InputSlot:Tray1
    %%EndFeature
    %%BeginFeature: *RangeNum1 10,38,48,81,89,102,106,115,122,126
    %%EndFeature
    %%BeginFeature: *RangeProp1_1 InputSlot:Tray2
    %%EndFeature
    %%BeginFeature: *RangeNum2 1,118,127
    %%EndFeature
    %%BeginFeature: *RangeProp2_1 InputSlot:Tray4
    %%EndFeature

    However the files I am now printing are far larger, and so the %%BeginFeature strings are much longer, and this causes an error from the printer. So I believe that I need to split the lines to multiple lines. However these three examples do not work :

    Code:
    %%BeginFeature: *RangeNum0 3-4,13-14,21-22,31-32,39-40,47-48,55-56,65-66,79-80,89-90,99-100,109-110,117-118,
    123-124,133-134,143-144,151-152,163-164,173-174,183-184,193-194,203-204,217-218,229-230,237-238,247-248,255-256,
    265-266,273-274,281-282,291-292,301-302,311-312,319-320,327-328,335-336,343-344,351-352,363-364,373-374,383-384,
    393-394,403-404,411-412,419-420,429-430,441-442
    Code:
    %%BeginFeature: *RangeNum1 1-2,5-12,15-20,23-30,33-38,41-46,49-54,57-64,67-78,81-88,91-98,101-108,111-116,
    %+119-122,125-132,135-142,145-150,153-162,165-172,175-182,185-192,195-202,205-216,219-228,231-236,239-246,249-254,
    %+257-264,267-272,275-280,283-290,293-300,303-310,313-318,321-326,329-334,337-342,345-350,353-362,365-372,375-382,
    %+385-392,395-402,405-410,413-418,421-428,431-440,443-452
    Code:
    %%BeginFeature: *RangeNum0 3-4,13-14,21-22,31-32,39-40,47-48,55-56,65-66,79-80,89-90,99-100,109-110,117-118,
    %%+123-124,133-134,143-144,151-152,163-164,173-174,183-184,193-194,203-204,217-218,229-230,237-238,247-248,255-256,
    %%+265-266,273-274,281-282,291-292,301-302,311-312,319-320,327-328,335-336,343-344,351-352,363-364,373-374,383-384,
    %%+393-394,403-404,411-412,419-420,429-430,441-442
    Thanks in advance.
Working...