Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How to print in single command/shortcut (like Ctrl+P) without showing the print configuration window?

share|improve this question
    
@hakermania This isn't really a duplicate. The OP asks to print from any program without the standard dialog, not to print a PDF directly. –  hexafraction Sep 21 '12 at 10:47
    
i have a network project for billing so it is difficult to select and print printer and printing option, is their any print config file? how to congig and where it is located –  raghul Sep 21 '12 at 11:06
    
@ObsessiveFOSS that's why the 'possible' word exists ;) I thought that via the command the print dialog is not being shown. –  hakermania Sep 21 '12 at 12:06
1  
@raghulrnair I suspect there might not be any way to do this in general, but that you could do it for particular applications, or at least those that support programmable macros (like LibreOffice). Are there specific programs you most need this for? –  Eliah Kagan Oct 3 '12 at 10:57
add comment

1 Answer

There's only one way to do this, and it's a bit of nuisance. If you start Chromium with this extra option,

chromium-browser --kiosk-printing

you shouldn't get a print dialog when you try to print. If you ever need to access the print dialog, however, you'll have to completely quit Chromium and restart it without that option.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.