Coder Social home page Coder Social logo

Comments (5)

imsedgar avatar imsedgar commented on July 20, 2024

Additional info:
I have used option "-o job-sheets-default=mybanner,none" for "lpadmin" command on cups server to create the printer queue.

Output of "lpoptions -p printername" contains "job-sheets=none,none" on cups client, on cups server it contains "job-sheets=mybanner,none".

from cups-filters.

KurtPfeifle avatar KurtPfeifle commented on July 20, 2024

Output of "lpoptions -p printername" contains "job-sheets=none,none" on cups client, on cups server it contains "job-sheets=mybanner,none".

What is the output if you run lpoptions -h cupsserver -p printername on the client?

from cups-filters.

imsedgar avatar imsedgar commented on July 20, 2024

What is the output if you run lpoptions -h cupsserver -p printername on the client?

The output contains the values of option JobSheets contained in file /etc/cups/printers.conf for printername.
For example, if /etc/cups/printers.conf contain "JobSheets standard none" for printername, then the output of "lpoptions -h cupsserver -p printername" contains "job-sheets=standard,none" (and other options, of course).

copies=1 device-uri=ipp://printername/ipp finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=standard,none marker-change-time=1543675140 marker-colors=#00FFFF,#FF00FF,#FFFF00,#000000,none,none,none marker-high-levels=100,100,100,100,99,99,99 marker-levels=59,69,58,18,-1,-1,-1 marker-low-levels=10,10,10,10,0,0,0 marker-names='Toner\ Cartridge\ (C),Toner\ Cartridge\ (M),Toner\ Cartridge\ (Y),Toner\ Cartridge\ (K),Waste\ Toner\ Box,Staple\ Cartridge,Hole-Punch\ Scrap\ Box' marker-types=toner,toner,toner,toner,waste-toner,staples,waste-paper number-up=1 printer-commands=none printer-info='printername, my description of the printer' printer-is-accepting-jobs=true printer-is-shared=true printer-is-temporary=false printer-location='our printer location' printer-make-and-model='oour printer model' printer-state=3 printer-state-change-time=1543675150 printer-state-reasons=cups-ipp-conformance-failure-report,cups-ipp-missing-job-history,media-low-warning,other-report printer-type=12668 printer-uri-supported=ipp://cupsserver:631/printers/printername

from cups-filters.

tillkamppeter avatar tillkamppeter commented on July 20, 2024

What happens if you print (from the client)? Does the banner page get printed? If not, does it get printed if you print with

lp -o job-sheets=mybanner,none ...

Does it get printed if you stop CUPS on the client, edit printers.conf on the client to have

JobSheets mybanner none

start CUPS again and then print?
Does it print another banner if you print with

lp -o job-sheets=[banner name],none ...

with [banner name] the name of another existing banner file? Or does it even happen that it prints two banners in certain cases?

from cups-filters.

tillkamppeter avatar tillkamppeter commented on July 20, 2024

No answer from the original poster, closing ...

from cups-filters.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.