At work I use gVim on Windows. Under some circumstances, it auto converts Unix line endings to windows when saving a file, I think based on the file name ending. Sounds like this happened here...
On Fri, 20 Jun 2003, Henrik Edlund wrote: > On Fri, 20 Jun 2003, Ryan Novosielski wrote: > > RN> I am printing via the HP 2500cm driver for Win2k, which sends some PJL and > RN> says @PJL ENTER LANGUAGE=PCL3GUI. That's just fine. The problem is that > RN> 'file' claims that the file is of type 'data'. I vi'd the file, did > RN> nothing to it, saved it, and ran file again -- now it recognizes it as a > RN> HP Printer Job Language. The file appears to have the proper PJL header, > RN> with the ^[%-12345X -- forgive me if I'm getting that wrong off the top of > RN> my head. Unfortunately, though, as printed, file calls it data and runs > RN> off a page that says "No conversion available for type 'data'". > RN> > RN> Any clues here? > > Could it be the file contain CR (carriage return)? Windows machines puts > both NL and CR and end of lines. How it becomes "data" I don't know, but > as it was okay after you saved it (on UNIX I presume) it sounds familiar. > > ----------------------------------------------------------------------------- > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST > The address you post from MUST be your subscription address > > If you need help, send email to [EMAIL PROTECTED] (or lprng-requests > or lprng-digest-requests) with the word 'help' in the body. For the impatient, > to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] > with: | example: > subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] > unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] > > If you have major problems, send email to [EMAIL PROTECTED] with the word > LPRNGLIST in the SUBJECT line. > ----------------------------------------------------------------------------- > ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
