Glam Prestige Journal

Bright entertainment trends with youth appeal.

I want lp to print to a default printer and can set this using lpoptions -d , but I can't find a way to set the default media size. Is there any way to do this with some lp... command or do I need to edit some config file?

1

1 Answer

Suppose DESTINATION is the name of a print queue (as shown, for example, in a print dialog). Obtain a list of printer specific options and their current settings with lpoptopns -p DESTINATION -l. It will contain a section for PageSize.

Let's say you want A4 as the default media size. Do lpoptopns -p DESTINATION -o PageSize=A4.

(Now read the lpoptions manual - man lpoptions).

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy