Jump to content
IGNORED

Printing


Recommended Posts

I'm getting PDF's I can't open... now possible, this is a software issue on my PC, but no other PDF's are giving me trouble.

 

It doesn't matter which printer I use on the fujinet...the PDF's won't open.  Anyone else experience this?

 

Details:

Atari 800XL with U1MB

Lotharek Fujient

Printing from Printshop

 

PC is a Windows 11

 

 

Link to comment
Share on other sites

6 hours ago, sl0re said:

Is there a character set that is just plain laser quality instead of looking like a vintage printer? 

 

Atari 1027 printer emulation should achieve your requirement. It is a typewriter type font and printouts simulate that typeface.

Link to comment
Share on other sites

  • 2 weeks later...
#!/bin/bash
nextfujiprint=$(curl -s -I -X GET  http://fujinet/print  | grep "^Content-Disposition" | cut -d '"' -f 2)
echo -n "$nextfujiprint" > /tmp/.fujiprint
while :
do
        fujiprint=$(cat /tmp/.fujiprint)
        nextfujiprint=$(curl -s -I -X GET  http://fujinet/print  | grep "^Content-Disposition" | cut -d '"' -f 2)
        if [[ "$nextfujiprint" != "$fujiprint" ]]; then
                if [[  ! -z "$nextfujiprint" ]]; then
                        echo Printing "$nextfujiprint"
                        wget http://fujinet/print -O "/tmp/$nextfujiprint"
                        lp -o Duplex=DuplexNoDumble -o PageSize=A4 -o portrait "/tmp/$nextfujiprint"
                fi
        fi
        echo -n "$nextfujiprint" > /tmp/.fujiprint
        sleep 1
done


I know nobody asked for this, but I got tired of downloading PDFs.  For me, seems to work on my linux box. I print to fujinet, and this pull pdf files from Fujinet (named fujinet on the network) and send them to my printer.  I did get PrintShop to work, not sure why, but the one on tnfs just soft locked at the start, but an ATX I found on archive does work perfectly -- just it's really really slow. Not really fun. 

 

I'm trying to remember, didn't these printers have ATASCII graphic characters on them?   Thought it might be amusing to just print out some ATASCII art, but for some reason on #fujinet, all my control characters are coming up empty.  I swore the Atari 820 and 822 had ATASCII, but it's been a long time. 


EDIT:Oop, and I google this, and no, it looks like none of these old printers had ATASCII, far as I can tell.
 

Edited by cathrynm
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

Atari XMM801 printed international character set and one of the earlier Atari printers had a ROM update near the end of production / in it's lifetime to do Atascii, to what degree I can't recall. Consider a G: device or other driver to print them.

Some SIO to printer devices also made Atascii and other graphics happen for printers.

I used a black box for an eternity and it had a built in method to print Atascii to just about anything or graphics for that matter.

There are a number of threads some including C listings etc to detokenize basic listing and print Atascii etc etc sprinkled about the AA forum and others. The Atari magazines like Analog etc. served up a few method, drivers, and proggies as well

 

also consider this website, he is active on AA, perhaps he could shed some light

http://www.vitoco.cl/atari/atasciiprinter.html

https://www.atarimagazines.com/v3n11/CUSTOM_PRINT.html

If you emulated one of the printers that support character set re definition you could just hard code the atascii as the redefined set or part of the emulation to print them directly. This might get rid of some special printer control codes, but if you are printing Atascii, that's not an issue, since you would do your control codes, switch to atascii, print, return to control code mode. (make your own printer in emulation that supports atascii)

 

Printing to a printer itself or getting a PC to auto sense/download and print sounds very nifty indeed.

Edited by _The Doctor__
  • Like 1
Link to comment
Share on other sites

Hello guys (m/f/x)

 

19 hours ago, cathrynm said:
#!/bin/bash
nextfujiprint=$(curl -s -I -X GET  http://fujinet/print  | grep "^Content-Disposition" | cut -d '"' -f 2)
echo -n "$nextfujiprint" > /tmp/.fujiprint
while :
do
        fujiprint=$(cat /tmp/.fujiprint)
        nextfujiprint=$(curl -s -I -X GET  http://fujinet/print  | grep "^Content-Disposition" | cut -d '"' -f 2)
        if [[ "$nextfujiprint" != "$fujiprint" ]]; then
                if [[  ! -z "$nextfujiprint" ]]; then
                        echo Printing "$nextfujiprint"
                        wget http://fujinet/print -O "/tmp/$nextfujiprint"
                        lp -o Duplex=DuplexNoDumble -o PageSize=A4 -o portrait "/tmp/$nextfujiprint"
                fi
        fi
        echo -n "$nextfujiprint" > /tmp/.fujiprint
        sleep 1
done


I know nobody asked for this, but I got tired of downloading PDFs.  For me, seems to work on my linux box. I print to fujinet, and this pull pdf files from Fujinet (named fujinet on the network) and send them to my printer.
 

 

Could this be adapted to work from inside the Fujinet?

 

Sincerely

 

Mathy

 

Link to comment
Share on other sites

2 hours ago, Mathy said:

Hello guys (m/f/x)

 

 

Could this be adapted to work from inside the Fujinet?

 

Sincerely

 

Mathy

 

Not in a straightforward way.  What makes this work is having a Linux install with a printer configuration that works with your printer. Fujinet isn't Linux. Might work with something like a Raspberry Pi? Maybe a Pi 0?

Link to comment
Share on other sites

just an idea, maybe we could add a "server to ping" field in webui for the printer. when a print is done, it sends a message to a local server specified that file is ready. server grabs the pdf and prints it. someone would need to make the server side that does the printing

  • Like 1
Link to comment
Share on other sites

Hello mozzwald

 

9 hours ago, mozzwald said:

just an idea, maybe we could add a "server to ping" field in webui for the printer. when a print is done, it sends a message to a local server specified that file is ready. server grabs the pdf and prints it. someone would need to make the server side that does the printing

 

Could this (also) be integrated into the TNFS server code?

 

Sincerely

 

Mathy

 

 

Link to comment
Share on other sites

32 minutes ago, Mathy said:

Could this (also) be integrated into the TNFS server code?

perhaps. I was thinking a separate printing server app to run on pc. TNFS doesn't really have anything to do with printing

 

 

  • Like 1
Link to comment
Share on other sites

4 hours ago, mozzwald said:

perhaps. I was thinking a separate printing server app to run on pc. TNFS doesn't really have anything to do with printing

 

 

This would be less janky then my bash script. Maybe we could call it 'tcups' -- like tnfs but for cups.

  • Haha 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...