-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2021-01-30 at 13:05 -0500, Doug McGarrett wrote:
On 1/30/21 5:44 AM, Carlos E. R. wrote:
On 30/01/2021 09.06, Doug McGarrett wrote:
On 1/29/21 12:42 PM, DennisG wrote:
On 1/28/21 9:38 PM, Doug McGarrett wrote:
http://localhost:631/ --> printers --> select yours. --> administration --> set default options --> query printer for default options
Page size here shows under "General".
Can't set options. Here is the sequence: Cups fpr administrators Administration Printers epson Administration Set default options
General Paper size: Letter 8½ x11 Media type: Plain paper-standard Auto duplex: off changed to long edge <<<<<
Set printer options gets this: http://localhost:631 is requesting your user name and password User name doug is filled in Password: (Here I fill in the password I use to boot the machine, the same password I use to reopen the machine after it has timed out.) Set printer options epson Error Unable to set options | Forbidden
Now what?
You can use either doug's password, or root's password. Alternatively, use the command "lpoptions" in a terminal window. lpoptions -l will tell you the options for the current default printer. First you have to find out what printers you have. For example: cer@Telcontar:~> lpstat -a cp1510n_ps accepting requests since 2021-01-30T14:42:21 CET cp1515n_hpijs accepting requests since 2020-10-23T22:15:18 CEST cp1515n_pcl3 accepting requests since 2020-09-29T00:00:55 CEST cer@Telcontar:~> and which is the default one? cer@Telcontar:~> lpstat -d system default destination: cp1510n_ps cer@Telcontar:~> Now, find the options for the default printer: cer@Telcontar:~> lpoptions -l HPServicesWeb/Internet Services: *SupportAndTroubleshooting ProductManuals CheckForDriverUpdates OrderSupplies PageSize/Page Size: Letter Legal Executive w612h935 4x6 5x8 *A4 A5 A6 B5 w283h425 w553h765 w522h737 w558h774 Postcard DoublePostcard Env10 EnvMonarch EnvISOB5 EnvC5 EnvDL Custom.WIDTHxHEIGHT InputSlot/Paper Source: *Auto Tray1 Tray2 Tray1_Man HPRotate180/Rotate Page 180 deg: *False True MirrorPrint/Mirror Image: True *False MediaType/Media Type: *Unspecified Plain HPLaserJet90 HPColorLaserMatte105 HPPremiumChoiceMatte120 HPColorLaserBrochureMatte160 HPSuperiorLaserMatte160 HPCoverMatte200g HPMattePhoto200 HPPresentationGlossy130g HPProfessionalLaserGlossy130g HPTriFoldColorLaserBrochure160g HPColorLaserBrochureGlossy160 HPSuperiorLaserGlossy160 HPColorLaserPhotoGlossy220 HPColorLaserPhotoGlossyFast220 HPColorLaserPhotoGlossyHigh220 Light6074 MidWeight96110 Heavy111130 ExtraHeavy131175 MidWeightGlossy96110 HeavyGlossy111130 ExtraHeavyGlossy131175 CardGlossy176220 ColorLaserTransparency Labels Letterhead Envelope HeavyEnvelope Preprinted Prepunched Colored Bond Recycled Rough HeavyRough HPToughPaper HPColorSmart/Color Options: *Automatic Manual HPTextHalftone/Halftone: Detail *Smooth HPTextRGB/RGB Color: *sRGB Vivid PhotoQuality Adobe None HPTextNeutralGrays/Neutral Grays: *Black ProcessBlack HPGraphicsHalftone/Halftone: Detail *Smooth HPGraphicsRGB/RGB Color: *sRGB Vivid PhotoQuality Adobe None HPGraphicsNeutralGrays/Neutral Grays: *Black ProcessBlack HPPhotoHalftone/Halftone: Detail *Smooth HPPhotoRGB/RGB Color: *sRGB Vivid PhotoQuality Adobe None HPPhotoNeutralGrays/Neutral Grays: Black *ProcessBlack HPEdgeControl/Edge Control: Off Light *Normal Max ColorModel/Print Color as Gray: *CMYKImageRET3600 Gray600x600dpi cer@Telcontar:~> ... continues. Same, on a different printer: cer@Telcontar:~> lpoptions -p cp1515n_pcl3 -l PageSize/Media Size: Photo A6 Hagaki Card3x5 EnvChou4 EnvMonarch Photo5x7 A5 Card5x8 Oufuku Env10 EnvA2 EnvC6 EnvDL EnvChou3 Letter *A4 Legal B5 JB5 Executive FLSA ExecutiveJIS 16k EnvC5 EnvB5 Custom.WIDTHxHEIGHT Duplex/Double-Sided Printing: DuplexNoTumble DuplexTumble *None InputSlot/Media Source: *Auto PhotoTray Upper Lower Envelope LargeCapacity Manual MPTray ColorModel/Output Mode: Gray *RGB MediaType/Media Type: *Plain Glossy OutputMode/Print Quality: *Normal Draft Best OptionDuplex/Duplexer Installed: *False True cer@Telcontar:~> So, to change an option: cer@Telcontar:~> lpoptions -p cp1515n_pcl3 -o "PageSize/Media Size"=A5 cer@Telcontar:~> lpoptions -p cp1515n_pcl3 -l PageSize/Media Size: Photo A6 Hagaki Card3x5 EnvChou4 EnvMonarch Photo5x7 A5 Card5x8 Oufuku Env10 EnvA2 EnvC6 EnvDL EnvChou3 Letter *A4 Legal B5 JB5 Executive FLSA ExecutiveJIS 16k EnvC5 EnvB5 Custom.WIDTHxHEIGHT (did not work) cer@Telcontar:~> lpoptions -p cp1515n_pcl3 -o "PageSize/Media Size"=A4 cer@Telcontar:~> lpoptions -p cp1515n_pcl3 -l PageSize/Media Size: Photo A6 Hagaki Card3x5 EnvChou4 EnvMonarch Photo5x7 A5 Card5x8 Oufuku Env10 EnvA2 EnvC6 EnvDL EnvChou3 Letter *A4 Legal B5 JB5 Executive FLSA ExecutiveJIS 16k EnvC5 EnvB5 Custom.WIDTHxHEIGHT ... cer@Telcontar:~> Well, that is the method, but it does not work. Not even as root. Maybe because my printer is off at this moment? No, no change. Another printer? No, no change. The options are saved in a file, and this seems to work: cer@Telcontar:~> cat ~/.cups/lpoptions Default cp1510n_ps InputSlot=Auto Dest cp1515n_pcl3 PageSize/Media=true Size=A5 cer@Telcontar:~> cer@Telcontar:~> cat /etc/cups/lpoptions Default cp1510n_ps PageSize=A4 Dest cp1515n_hpijs PageSize=A4 Dest cp1515n_pcl3 PageSize=A4 cer@Telcontar:~> But not always. cer@Telcontar:~> lpoptions -p cp1515n_pcl3 -o "PageSize/Media Size"=A4 -l PageSize/Media Size: Photo A6 Hagaki Card3x5 EnvChou4 EnvMonarch Photo5x7 A5 Card5x8 Oufuku Env10 EnvA2 EnvC6 EnvDL EnvChou3 Letter *A4 Legal B5 JB5 Executive FLSA ExecutiveJIS 16k EnvC5 EnvB5 Custom.WIDTHxHEIGHT Duplex/Double-Sided Printing: DuplexNoTumble DuplexTumble *None InputSlot/Media Source: *Auto PhotoTray Upper Lower Envelope LargeCapacity Manual MPTray ColorModel/Output Mode: Gray *RGB MediaType/Media Type: *Plain Glossy OutputMode/Print Quality: *Normal Draft Best OptionDuplex/Duplexer Installed: *False True cer@Telcontar:~> cat ~/.cups/lpoptions Default cp1510n_ps InputSlot=Auto Dest cp1515n_pcl3 PageSize/Media=true Size=A5 cer@Telcontar:~> See that the file uses the wording "Size=A5"? I try that on the command, doesn't seem to work. Well, try to edit the options directly on the file and find out if the printer obeys. - -- Cheers, Carlos E. R. (from openSUSE 15.2 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCYBWq4Rwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVqpoAnil1BpFRQ5mLeT+DQ5pe nAvQHEnQAJwIiGMLwe3jaxfvS7oWUJHDQ/OvvA== =nTEy -----END PGP SIGNATURE-----
participants (1)
-
Carlos E. R.