Bash script for printing with lp

I have a series of labels that are being sent via "bash" and using the "lp" command.

More often than not the prints do not send because it is "unable to communicate with the printer" my solution has been to manually "release" the print jobs from CUPS.

I would like a script that contains a "while loop" that will pull any stuck jobs from lpstat and continue to "resume" them until they finally leave the queue.

I actually have most of this figured out, but I am getting syntax errors in my script.

Ferdigheter: Linux, PHP, Python, Shell Script

Se mer: lp command in unix with examples, printing command in linux with example, lp options, unix printer commands, printer command in linux, lp vs lpr, linux lpr command, linux print command examples, print formatting bash script, bash script formatting number print, bash script find ftp folder existing, bash script check web page, parse using bash script find average, file parsing bash script, connect ftp bash script, bash script login webiste, bash script query mysql database, bash script website clicks, unit testing bash script, sendmail bash script

Om arbeidsgiveren:
( 7 omtaler ) Ruby, United States

Prosjekt-ID: #16079072

3 frilansere byr i snitt $22 for denne jobben


Competitively pricing my bid based on the specified requirements Relevant Skills and Experience Software engineer with 1+ years of experience working extensively on linux based environments. Have written many shell sc Mer

$25 USD på 1 dag
(1 anmeldelse)

I am a developer and can do the job please ping me for more details Relevant Skills and Experience Developer Proposed Milestones $25 USD - code

$25 USD på 1 dag
(2 Omtaler)
$15 USD på 1 dag
(0 Omtaler)