Re: Printing text files at command prompt

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Not that I"m aware of. The command line utility is very simple in its implementation.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"MT K" <MTK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:B1117A89-B627-4868-945F-D4F37ECE2A23@xxxxxxxxxxxxxxxx
Hi,

I am trying to print text files from the command prompt, and I know I can do
this with,
print [/d:Printer] [Drive:][Path] FileName [ ...]

The problem is I only want to print the first page. Is there any way to
include this requirement into the command line. Example:

print C:\Document.txt <print only first page???>

--
KMT

.



Relevant Pages

  • Re: Firewall activation problem
    ... Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display ... MS-MVP Windows Media Center\Windows Powered Smart Display ... >> Then in the Command Prompt window, enter each of the following commands ... >> winmgmt /clearadap ...
    (microsoft.public.windowsxp.security_admin)
  • Re: auto logoff after specified time
    ... Search for Scheduled Tasks. ... Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security ... > can u pls give me the hints on to how to go on with this command. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Cannot log in to XP
    ... Including the command at the end. ... Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display ... I have a friend who just loaded Norton 2005 onto his PC (He ... > had some virus problems) He's running the home edition of XP, ...
    (microsoft.public.windows.mediacenter)
  • Re: The logon user file msgina.dll file is missing. restore it.
    ... What happens when you do the DIR command? ... MS-MVP Windows Media Center\Windows Powered Smart Display\Security ... I do not have an administrator password. ...
    (microsoft.public.windowsxp.basics)
  • Re: ITS FIXED
    ... control userpasswords2 works fine in XP Home. ... > Doug Knox, MS-MVP Windows XP/ Windows Smart Display ... >> using CONTROL PASSWORD2 command and other xp has fency ...
    (microsoft.public.windowsxp.security_admin)