Sunday, 14 Dec 2025
Subscribe
logo
  • Global
  • AI
  • Cloud Computing
  • Edge Computing
  • Security
  • Investment
  • Sustainability
  • More
    • Colocation
    • Quantum Computing
    • Regulation & Policy
    • Infrastructure
    • Power & Cooling
    • Design
    • Innovations
    • Blog
Font ResizerAa
Data Center NewsData Center News
Search
  • Global
  • AI
  • Cloud Computing
  • Edge Computing
  • Security
  • Investment
  • Sustainability
  • More
    • Colocation
    • Quantum Computing
    • Regulation & Policy
    • Infrastructure
    • Power & Cooling
    • Design
    • Innovations
    • Blog
Have an existing account? Sign In
Follow US
© 2022 Foxiz News Network. Ruby Design Company. All Rights Reserved.
Data Center News > Blog > Global Market > How to print from the Linux command line: double-sided, landscape and more
Global Market

How to print from the Linux command line: double-sided, landscape and more

Last updated: June 11, 2024 2:51 pm
Published June 11, 2024
Share
Young latin business woman manager accounting analyst checking bills, analyzing sales statistics management, taxes financial data documents or marketing report papers working in office using laptop.
SHARE

$ lpoptions | tr " " 'n' | extra
copies=1
device-uri=socket://192.168.0.15
finishings=3
job-cancel-after=10800
job-hold-until=no-hold
job-priority=50
job-sheets=none,none
marker-change-time=1717856401
marker-colors=#000000,#00FFFF,#FF00FF,#FFFF00
marker-levels=5,28,68,27
marker-names="Black
Cartridge
HP
CC530A,Cyan
Cartridge
HP
CC531A,Magenta
Cartridge
HP
CC533A,Yellow
Cartridge
HP
CC532A"
marker-types=toner,toner,toner,toner
number-up=1
print-color-mode=colour
printer-commands=AutoConfigure,Clear,PrintSelfTestPage
printer-info='HP

You probably have a number of printers obtainable, you need to use the -p choice to specify a selected printer.

$ lpoptions -p LaserJet

With the -v possibility, the lpinfo command will checklist drivers and associated info, together with the printer’s IP tackle.

$ lpinfo -v
file cups-brf:/
community beh
direct hp
community ipps
community lpd
community socket
community http
community ipp
community https
community smb
direct hpfax
community socket://192.168.0.15
community dnssd://HPpercent20Colorpercent20LaserJetpercent20CP2025dnpercent20(F47468)._pdl-datastream._tcp.native/

Now that we’ve taken a have a look at all the small print you possibly can view about your printers, let’s dive into printing.

Utilizing the lp command

To print a doc on the default printer, simply use the lp command adopted by the title of the file that you simply wish to print. If the filename consists of blanks (uncommon on Linux techniques), both put the title in quotes or begin getting into the file title and press the tab key to invoke file completion (as proven within the second instance under).

$ lp mystory
$ lp the entire story
request id is HP-Colour-LaserJet-CP2025dn-2 (1 file(s))

Use the lpq command to view the recordsdata within the printer queue. Be aware, nevertheless, that some recordsdata will print so shortly that they’ll be accomplished earlier than you hit the enter key after typing “lpq” and also you received’t get a list. On this case, I put the lpq command on the identical line to keep away from the print ending too shortly.

$ lp the entire story ; lpq
request id is HP-Colour-LaserJet-CP2025dn-3 (1 file(s))
HP-Colour-LaserJet-CP2025dn is prepared and printing
Rank    Proprietor   Job     File(s)                         Whole Measurement
energetic  shs     3       the entire story                 1024 bytes

Printing a number of copies of a file

With the -n possibility, the lp command means that you can specify the variety of copies of a printout you  need.

See also  Scott Fanning (Aryaka) - HostingJournalist.com

Source link

TAGGED: command, doublesided, Landscape, Line, Linux, print
Share This Article
Twitter Email Copy Link Print
Previous Article Google to invest US$5 billion to complete next phase of Singapore Data Center and Cloud Region campus expansion Google to invest US$5 billion to complete next phase of Singapore Data Center and Cloud Region campus expansion
Next Article Tethr and Awaken Intelligence Merge Tethr and Awaken Intelligence Merge
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Your Trusted Source for Accurate and Timely Updates!

Our commitment to accuracy, impartiality, and delivering breaking news as it happens has earned us the trust of a vast audience. Stay ahead with real-time updates on the latest events, trends.
FacebookLike
TwitterFollow
InstagramFollow
YoutubeSubscribe
LinkedInFollow
MediumFollow
- Advertisement -
Ad image

Popular Posts

DPL Financial Partners Receives $23M in Equity Capital

DPL Financial Partners, a Louiseville, KY-based supplier of a platform for commission-free annuities, acquired $23M…

December 4, 2024

Unlocking the Potential of Passive Two-Phase Liquid Cooling | DCN

Knowledge facilities face unprecedented challenges on this digital age of cloud computing, AI, and linked…

May 18, 2024

Juniper CEO: ‘I am disappointed and somewhat puzzled’ by DOJ merger rejection

HPE and Juniper met with the DOJ a number of occasions to go over the…

February 16, 2025

7 MCP Servers To Automate Data Center and Cloud Tasks

As knowledge facilities more and more combine with cloud environments, organizations want streamlined administration throughout…

October 10, 2025

iWeb Gets $22M Funding from Goldman Sachs

Canadian internet hosting supplier iWeb Group Inc.  has obtained $22 million (about $20.9 million USD) in…

June 2, 2024

You Might Also Like

Two futuristic-looking hands shaking.
Global Market

Most significant networking acquisitions of 2025

By saad
AI training
Global Market

Cybersecurity skills matter more than headcount in an AI era: ISC2 study

By saad
shutterstock 2291065933 space satellite in orbit above the Earth white clouds and blue sea below
Global Market

Aetherflux joins the race to launch orbital data centers by 2027

By saad
Data center / enterprise networking
Global Market

P4 programming: Redefining what’s possible in network infrastructure

By saad
Data Center News
Facebook Twitter Youtube Instagram Linkedin

About US

Data Center News: Stay informed on the pulse of data centers. Latest updates, tech trends, and industry insights—all in one place. Elevate your data infrastructure knowledge.

Top Categories
  • Global Market
  • Infrastructure
  • Innovations
  • Investments
Usefull Links
  • Home
  • Contact
  • Privacy Policy
  • Terms & Conditions

© 2024 – datacenternews.tech – All rights reserved

Welcome Back!

Sign in to your account

Lost your password?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
You can revoke your consent any time using the Revoke consent button.