how can i print with 1 click or keyboard shortcut


  1. Posts : 3
    Win 10
       #1

    how can i print with 1 click or keyboard shortcut


    I am trying to figure the best way to print a label every time i need it without opening up a program like word and printing from there.

    what i need is to be able to click a icon on my desktop and then my printer prints out the word CHECKED that is it

    i tried making a bat file but it was too long winded waiting for word to load before it printed i want something much quicker

    if i could also have a keyboard shortcut to do it that would be even better for example press
    any ideas on how i could do this would be great or if anyone knows of a program for this would be good too.

    even if something could be designed in VB that could work

    hope everything makes sense
      My Computer


  2. mck
    Posts : 142
    Windows 10 Home
       #2

    mtwa said:
    I am trying to figure the best way to print a label every time i need it without opening up a program like word and printing from there.

    what i need is to be able to click a icon on my desktop and then my printer prints out the word CHECKED that is it

    i tried making a bat file but it was too long winded waiting for word to load before it printed i want something much quicker

    if i could also have a keyboard shortcut to do it that would be even better for example press
    any ideas on how i could do this would be great or if anyone knows of a program for this would be good too.

    even if something could be designed in VB that could work

    hope everything makes sense
    Explaining exactly what kind of label would be very helpful to help folks figure out how to do what you want. Like one label always at the top left of a page? Or does the printout have to move from label to label on a sheet of labels? What size label? Doing it manually, can the label be printed using Notepad?

    Keep it warm,
    mck
      My Computer


  3. Posts : 3
    Win 10
    Thread Starter
       #3

    Its a Sticky Label and once printed has to look like this how can i print with 1 click or keyboard shortcut-checked.png size is 10cm x 6cm and needs to be centered in the middle of the label. only want it to print one label every time i press the icon/button

    I have a Zebra GK420d printer and 10x6 sticky labels if that helps too

    Thank You for your reply
    MTWA
      My Computer


  4. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #4

    No idea if this will work or not, but could you print to a file then just copy the file to the printer whenever you want to print it.

    I don't know how to do the copy part but the print to file is a function of the printer.
      My Computers


  5. mck
    Posts : 142
    Windows 10 Home
       #5

    mtwa said:
    Its a Sticky Label and once printed has to look like this
    ... image omitted to save bandwidth ...
    size is 10cm x 6cm and needs to be centered in the middle of the label. only want it to print one label every time i press the icon/button
    I have a Zebra GK420d printer and 10x6 sticky labels if that helps too
    .
    Since you have different sized fonts on your label, you need to use Wordpad and not Notepad. Here's a procedure using Window's Wordpad and a batch file to do what you want:

    1. Open Wordpad and setup the text to print on the label the way you want. Save it as a .rtf file. (my file name was tstoneck.rtf)

    2. Open Notepad and copy this batch file into it:
    Code:
    @echo off
    
    rem =This batch file will print with one click from desktop icon
    rem =Must put quotes around the path if it contains path names that have spaces
    
    rem =Using Wordpad
    start write.exe /p "D:\test\test wordpad documents\tstoneck.rtf"
    3. Edit the path in the quotes to match the path to your Wordpad rtf file. Do not omit the quotes.

    4. When you save the edited batch file, in the "save as" dialog, enter the name as "print one click.bat". Also change the "save as type:" from "text document (*.txt) to "all files (*.*). This will preserve the .bat suffix for the saved file.

    5. Verify that your saved batch file name is something like "print one click.bat" with the .bat suffix.
    ... (Use any name you want for your batch file. It doesn't have to be "print one click.bat".)

    6. Create a desktop shortcut to that batch file.

    Now when you click the desktop shortcut, the wordpad file will be printed to the default printer with no other action on your part.

    Hope my explanation is clear enough to understand,
    mck
      My Computer


  6. Posts : 3
    Win 10
    Thread Starter
       #6

    Thank you that worked brilliantly
    Much apreciated
    MTWA
      My Computer


  7. mck
    Posts : 142
    Windows 10 Home
       #7

    mtwa said:
    Thank you that worked brilliantly
    Much apreciated
    MTWA
    You're welcome. Glad it worked for you.
    mck
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:20.
Find Us




Windows 10 Forums