Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Program for printing it on a laser

  1. #1
    Member
    Join Date
    Dec 2013
    Location
    Honolulu
    Posts
    83
    Thanks
    1
    Thanked 4 Times in 2 Posts

    Default Program for printing it on a laser

    Do I use Javax.swing? I am trying to develop a program where by my computer can connect to a laser printer. Then transfer a picture file .jpg on to a plastic or stensil sheet. From there on iron the laser onto a printing press on to the t shirt. White. I'm just not sure if you can use Javax.swing and the standard Java 8 or Java 9 edition.

    please if you could be kind enough to jump right in. Thanks for your input.

  2. #2
    Member
    Join Date
    Sep 2018
    Location
    Virginia
    Posts
    284
    My Mood
    Cool
    Thanks
    0
    Thanked 38 Times in 36 Posts

    Default Re: Program for printing it on a laser

    Java does not "connect" to a printer. That is done by the OS. The Java API has a PrinterJob class for accessing the printer and printing images or text. It has been around since Java 1.4. So you may use any version of Java since then.

    Regards,
    Jim

  3. #3
    Member
    Join Date
    Dec 2013
    Location
    Honolulu
    Posts
    83
    Thanks
    1
    Thanked 4 Times in 2 Posts

    Default Re: Program for printing it on a laser

    Thank you for the clarification.

Similar Threads

  1. Help me for a program for printing a file through printer
    By dinesh2707 in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: June 14th, 2014, 04:22 PM
  2. Program not printing anything
    By kbrady481 in forum What's Wrong With My Code?
    Replies: 38
    Last Post: March 19th, 2013, 09:08 PM
  3. Program not printing anything II
    By sc23 in forum What's Wrong With My Code?
    Replies: 14
    Last Post: March 19th, 2013, 06:18 PM
  4. Random access IO and printing to a laser printer
    By alan1 in forum File I/O & Other I/O Streams
    Replies: 11
    Last Post: March 12th, 2013, 12:15 AM