SENDQ(5)
๐ SENDQ(5) ๐
File Formats Manual โจ okay bestie, welcome to the manual page for sendq/q* โ the HylaFAX outbound job description, and yes it's section 5, and yes it's a whole vibe. Let's get into it ๐ซถ
๐ธ NAME ๐ธ
sendq/q* โ HylaFAX outbound job description ๐
๐ DESCRIPTION ๐
So, the files chilling in the sendq directory are literally the transmission job requests, no cap. They get created by hfaxd(8) when it's submitting a job on behalf of sendfax(1) or sendpage(1). And plot twist โ job description files also live in the doneq directory; faxq(8) moves them over there when a job completes. Moving on up, iconic behavior honestly ๐
Job description files are ASCII files, and every line looks like this:
tag: value
where a tag is one of the identifiers listed below, and a value is either a string or a number. The value starts at the first non-blank character after the : and just keeps going to the end of the line. And if a line ends with a backslash character \, bestie, it's continued onto the next line. Numeric values are decimal integers โ except for chophreshold, which is expressed as a floating point value ๐ฆ
Here's the full list of possible tags and the required type of the value that goes with each one:
chopthresholdโ float โ page chopping threshold (inches)commidโ string โ communication identifier for last callcompanyโ string โ receiver's companyclientโ string โ host that submitted the jobcoverโ string โ continuation coverpage filedataโ string โ unprocessed document of indeterminate type!dataโ string โ processed document of indeterminate typedataformatโ string โ data format used to transmit a facsimiledesiredbrโ integer โ desired maximum transmit speeddesireddfโ integer โ desired page data formatdesiredecโ integer โ desired use of Error Correction Mode (ECM)desiredstโ integer โ desired minimum scanline timedesiredtlโ integer โ whether or not to use tagline parameterdoneopโ string โ operation to perform when job is reapederrorcodeโ string โ job status error codeexternalโ string โ external form of dialstringfaxโ string โ document ready for transmissionfaxnumberโ string โ faxnumber to use sendinggroupidโ integer โ HylaFAX job group identifierjobidโ integer โ HylaFAX job identifierjobtagโ string โ user-specified job identifierjobtypeโ string โ job type identification stringkilltimeโ integer โ time to give up trying to send joblocationโ string โ receiver's locationmailaddrโ string โ email address of sendermaxdialsโ integer โ max number of times to dialmaxtriesโ integer โ max number of attempts to send jobminbrโ integer โ minimum required transmit speedmodemโ string โ outgoing modem to usendialsโ integer โ number of consecutive failed attempts to place callnotifyโ string โ email notification specificationnpagesโ integer โ number of pages transmittedntriesโ integer โ number of attempts to send current pagenumberโ string โ dialstring to use in placing callownerโ string โ user that owns the jobpageโ string โ PIN in a page operationpagechopโ string โ whitespace truncation handlingpagehandlingโ string โ page analysis informationpagelengthโ integer โ facsimile page length (millimeters)pagewidthโ integer โ facsimile page width (millimeters)passwdโ string โ info to send in HDLC PWD framepclโ string โ unprocessed PCL document!pclโ string โ processed PCL documentpollโ string โ polling requestpostscriptโ string โ unprocessed POSTSCRIPT document!postscriptโ string โ processed POSTSCRIPT documentpriorityโ integer โ user-specified scheduling priorityreceiverโ string โ receiver's identityresolutionโ integer โ vertical resolution of facsimileretrytimeโ integer โ time to use between job retriesreturnedโ integer โ indicates return status value for the jobschedpriโ integer โ current scheduling prioritysenderโ string โ identity of sendersignalrateโ string โ signalling rate at which a facsimile was sentstateโ integer โ job scheduling statestatusโ string โ job statussubaddrโ string โ info to send in HDLC SUB frametaglineโ string โ tagline format stringtiffโ string โ unprocessed TIFF/F document!tiffโ string โ processed TIFF/F documenttotdialsโ integer โ total number of phone callstotpagesโ integer โ total pages to transmittottriesโ integer โ total number of attempts to send jobtsiโ string โ TSI to transmit when sendingttsโ integer โ time to send jobuseccoverโ integer โ whether or not to use a continuation cover pageusexvresโ integer โ whether or not to use highest vertical resolution
โจ PARAMETERS โจ
๐จ Real talk first, bestie: all files must be owned by the fax user. And pathnames for document files have to be relative to the top of the HylaFAX spooling directory, and they must not include ... Periodt.
Here's every parameter, one by one ๐
chopthresholdโ The minimum trailing whitespace (in inches) that has to appear on a page for it to even be considered for ``page chopping''. If this parameter isn't specified, then the value from thePageChopThresholdconfiguration parameter gets used instead; go peek athylafax-config(5)for that ๐ธcommidโ The communication identifier for the last outbound call placed for this job. This string looks likeXXXXXXXXwhereXXXXXXXXis a decimal sequence number in the range 1-99999999 ๐ฅclientโ The fully qualified hostname for the machine the job was submitted from. If the hostname isn't known at the time the job is submitted, then the host address in Internet standard.(dot) notation is supplied instead. Lowkey flexible, we love that ๐ฆcompanyโ The receiver's company name, as specified with the-xoption tosendfax(1). This value is only used when creating continuation cover pages ๐coverโ The pathname of a continuation cover page to send. The file has to be TIFF/F (i.e. it must already be prepared for transmission, no shortcuts). This document gets transmitted before any other documents listed in the file. SeeContCoverPageandContCoverCmdinhylafax-config(5)๐dataโ The pathname of a document to send. Once a document has been processed, it's marked as!dataso that subsequent retries don't reprocess it. Efficient, honestly โจdataformatโ The format used to transmit facsimile data. This item is recorded byfaxsend(8)so thatnotify(8)can return it in a notification message ๐ฌdesiredbrโ The desired signalling rate to use for page data transmissions:0for 2400 bps,1for 4800 bps,2for 7200 bps,3for 9600 bps,4for 12000 bps,5for 14400 bps,6for 16800 bps,7for 19200 bps,8for 21600 bps,9for 24000 bps,10for 26400 bps,11for 28800 bps,12for 31200 bps, and13for 33600 bps (default). Speeeed ๐๏ธdesireddfโ The desired data format to use for page data transmissions:0for 1-D MH,1for 2-D MR,3for 2-D MR with uncompressed data, and4for 2-D MMR (default) ๐desiredecโ Which type of Error Correction Mode (ECM) to use:0to disable,1for 64-byte ECM,2for 256-byte ECM (default) ๐desiredstโ The desired minimum scanline time to use for page data transmissions:0for 0 ms (default),1for 5 ms,2for 10ms/5ms,3for 10ms,4for 20ms/10ms,5for 20ms,6for 40ms/20ms, and7for 40ms. This value gets used when selecting the negotiated session parameters ๐คdesiredtlโ Whether or not to use the format string specified by thetaglinejob parameter when imaging taglines on document pages. If this value is non-zero then the per-job format string is used; otherwise the tagline format string specified in the server configuration file is used; seeTagLineFormatinhylafax-config(5)๐doneopโ The treatment the job should get when it's processed by thefaxqclean(8)job cleaner program. This may be one ofremove(to expunge the job description file and all associated documents that aren't referenced by another job) orarchive(to request that the job and associated documents be archived on the server machine). Consultfaxqcleanfor more details on other information that may be included in this string ๐งนerrorcodeโ The codified form of the status message, intended for use by clients which provide customized status messages keyed from this standard index ๐externalโ The external form of the dialstring. This string is used instead of the dialstring in any status and log messages. Clients can protect private information such as access codes that must be placed in dialstrings by supplying a ``cleansed'' version of the dialstring. Privacy icon, we stan ๐faxโ The pathname of a TIFF/F document that's ready for transmission. If the pathname string has a leadingxx:, thenxxis interpreted to be the index of the first directory in the file to transmit (directories are numbered starting at zero). Sneaky little detail, iykyk ๐faxnumberโ The number to use when sending a fax. Parallel'sFAXNumberdevice config option โ๏ธgroupidโ The job group identifier, an integer number in the range 1 to 32000, assigned to each group of jobs by the HylaFAX software. Each job in a group of jobs submitted at the same time gets assigned the same value by the HylaFAX software. Squad goals ๐ซถjobidโ The job identifier, a unique integer number in the range 1 to 32000, assigned to each job by the HylaFAX software ๐jobtagโ bestie, this is just a user-specified string meant for identification purposes. If you define it, it gets returned to the user in notification messages instead of the job identifier. So iconic. ๐killtimeโ the time to kill this job, expressed in seconds since00:00:00 GMT, January 1, 1970. Yes, that exact epoch. โฐlocationโ the receiver's location as specified with the-yoption tosendfax(1). This value is used only when creating continuation cover pages. ๐mailaddrโ the electronic mail address to which notification messages should be directed. Slide into their inbox, bestie. ๐งmaxdialsโ the maximum number of times the server should dial the phone. If the job cannot be completed in this number of calls, it is terminated. So like, no infinite redial energy. โ๏ธmaxtriesโ the maximum number of times the server should attempt to send a job; where an attempt is defined to be a session that makes it past Phase A of the CCITT T.30 protocol (for facsimile), or similar. If the job cannot be completed in this number of tries, it is terminated. ๐minspโ the minimum signalling rate to use for transmitting page data. Here's the whole menu:0โ 2400 bps (default)1โ 4800 bps2โ 7200 bps3โ 9600 bps4โ 12000 bps5โ 14400 bps6โ 16800 bps7โ 19200 bps8โ 21600 bps9โ 24000 bps10โ 26400 bps11โ 28800 bps12โ 31200 bps13โ 33600 bps No cap, just bps. ๐
modemโ the outgoing modem to use to send the job, oranyif any available modem is acceptable. Flexible queen. ๐ownerโ the identity of the user that owns the job. Typically the owner is the user that created the job, though clients with administrative privileges can change the ownership of jobs. The value is the string specified in theUSERcommand passed tohfaxd(8)when a client logins in to the server. ๐notifyโ a specification of whether the sender wants notification: whenever the job is requeued after a failed attempt to transmit (when requeued), when the job is completed (when done), either of the above (when done+requeued), or not at all (none). Pick your vibe. ๐npagesโ the number of pages in the facsimile, including the cover page, that have been successfully transmitted. Count 'em. ๐ntriesโ the number of unsuccessful attempts that have been made to transmit the current page. Oof, we've all been there. ๐ญndialsโ the number of consecutive unsuccessful attempts to establish carrier with the remote device. Carrier, bestie, pick up. ๐numberโ the dialstring to use to call the destination device. Ring ring. โ๏ธpageโ a string with PIN and to use in processing a page transmit request. (Yes, that's what it says.) ๐ขpagechopโ whether or not to automatically truncate trailing whitespace on pages of outbound facsimile; seePageChopinhylafax-config(5). The possible values are:defaultโ use the setting of thePageChopconfiguration parameternoneโ disable page choppingallโ enable chopping of all pageslastโ enable chopping of the last page of each document Chop chop, but make it configurable. โ๏ธ
pagehandlingโ a string that contains per-page information used during facsimile transmission. Most of the information is used in the negotiation of session capabilities with optional information used in the implementation of page chopping. The string has three characters, sayxxc, for each page to be transmitted. Thexxcharacters are a hex-encoded specification of the session capabilities required to transmit the page. Theccharacter is one ofM,S, andP; where:Mโ indicates there is another page to follow and that the page requires different T.30 session parameters be negotiated (anEOMcode is to be transmitted).Sโ indicates there is another page to follow, but the page uses the same session parameters (anMPS.code is to be transmitted).Pโ indicates this is the last page to be transmitted (anEOPcode is to be transmitted). In addition, if page chopping has been enabled and the page has enough trailing whitespace to be a candidate, then each three character string will be followed by a string of the formZXXXX, whereXXXXis a 4 digit hex-encoded count of the number of bytes of data to send for a chopped page. So much lore. ๐
pagelengthโ the desired page length in millimeters. ๐pagewidthโ the desired page width in millimeters. ๐pclโ the pathname of a PCL document to send. Once a PCL document has been processed byfaxsend, it is marked as!pclso that subsequent retries do not reprocess the document. Don't do the same work twice, bestie. ๐จ๏ธpollโ the value is a Caller Identification String (CIS) to use in making a polling request. If no CIS is specified thenfaxsendwill form one from theFAXNumberconfiguration parameter. Polling era. ๐postscriptโ the pathname of aPOSTSCRIPTยฎdocument to send. Once aPOSTSCRIPTdocument has been processed byfaxsend, it is marked as!postscriptso that subsequent retries do not reprocess the document. Fancy. ๐receiverโ the receiver's name. This value is used only when creating continuation cover pages. Who's on the other end? ๐resolutionโ the desired vertical resolution in lines per inch. This value should be either98or196. Pick one, periodt. ๐retrytimeโ the time, in seconds, to delay between each attempt to transmit a job that fails because of a communication-oriented problem. Normally jobs are scheduled according to a collection of configuration parameters that are tuned for the specific reason of each failure; e.g. seeJobReqProtoinhylafax-config(5). Give it a minute. โณreturnedโ used internally to determine the last return value of the job send attempt. Internal tea, don't worry about it. ๐คซsenderโ thefull nameof the sender of the facsimile. Put a name on it. ๐๏ธsignalrateโ the signalling rate used to transmit facsimile data. This item is recorded byfaxsend(8)so thatnotify(8)can return it in a notification message. Data go brrr. ๐ถstateโ the job scheduling state. Recognized values are:1โ suspended, not being scheduled2โ pending, waiting for the time to send3โ sleeping, waiting for a scheduled timeout4โ blocked, waiting for concurrent activity to the same destination to complete5โ ready, ready to be processed except for available resources6โ active, actively being processed by HylaFAX7โ done, processing completed with success8โ failed, processing completed with a failure State check, bestie. ๐ง
statusโ status information about the current state of the job. Typically this is the reason why the last attempt to send the facsimile failed. The receipts, basically. ๐งพsubaddrโ the SubAddress information to transmit when sending a facsimile. This string should be used by the receiver to route received facsimile documents. Routing queen. ๐บ๏ธtaglineโ the format string to use in imaging taglines on outgoing documents. Note that this parameter is only used if thedesiredtlparameter is non-zero. Branding, but conditional. ๐ท๏ธtiffโ the pathname of aTIFF/Fdocument to send. Once a TIFF document has been processed byfaxsend, it is marked as!tiffso that subsequent retries do not reprocess the document. TIFF girlies rise. ๐ผ๏ธtotdialsโ the total number of times the server has placed a call to the receiving phone number. Total dial count. ๐ขtotpagesโ the total number of pages to be transmitted. All the pages. ๐tottriesโ the total number of attempts to transmit a job; seemaxtriesabove. Total tries, no cap. ๐ชtsiโ TSI to use when sending. This is only used if the device has been configured to allow it. Otherwise, the configuredLocalIdentifier. is used. TSI lore. ๐ttsโ the time to send the job. If this value is non-zero, it is number of seconds since00:00:00 GMT, January 1, 1970. Otherwise, a value of0is interpreted to mean process as soon as possible. ASAP energy. โกuseccoverโ1if the job should use a continuation cover page during retransmission,0otherwise. Cover page yes or no. ๐usexvresโ1if the job should use the highest possible vertical resolution,0otherwise. Seehylafax-server(5)for a description of continuation cover pages. Max resolution, max slay. ๐ฅ
โจ SEE ALSO โจ
Go read sendfax(1), faxq(8), faxqclean(8), faxsend(8), pagesend(8), hfaxd(8), hylafax-config(5). That's the whole friend group. ๐ซถ
This iconic page is from SENDQ(5), dated May 12, 1996. ๐
โจ
๐ฆ where this page comes from
- debian bookworm: hylafax-server 3:6.0.7-5
- debian trixie: hylafax-server 3:6.0.7-11.1
- ubuntu jammy: hylafax-server 3:6.0.7-3.1
- ubuntu noble: hylafax-server 3:6.0.7-7
- ubuntu questing: hylafax-server 3:6.0.7-13
- ubuntu resolute: hylafax-server 3:6.0.7-13build1
- ubuntu stonking: hylafax-server 3:6.0.7-13build1
- Copyright (c) 1990-1996 Sam Leffler
- Copyright (c) 1991-1996 Silicon Graphics, Inc
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms