I'd been carrying those 3 Adobe books around for the past 30 years, hardly doing anything with them, when I finally gave them away a couple years back. Now, I need to generate some visualizations of data, and finally need them. Thanks for the handy links to the PDFs and the nice intro.
For those that are running Debian and don't get a visual output by using the ghostscript interpreter. You need to install the ghostcript-x package. Without it, there will be no x11 output. You can check this, by entering "gs -h" in a command line. Under available devices there should be someting like x11.
Thanks. I did not know about evince. I had been using Mac preview until the latest version stopped supporting PS. Evince saves having to call ps2pdf and open to view every time a change is made.
Very nice video! One nit: you don't need to start with 'newpath'. In fact you almost never need 'newpath', and it can cause lots of weird problems if you stick it procedures which draws things IME because it restricts how you can compose larger drawings from smaller pieces.
You're probably right. I do tend to make rather liberal use of newpath. If I ever get to organizing more complex projects I'll definitely have to address this.
I need to write a program which takes data from a database, does processing on it, and then prints out a nicely formatted output for a printer. In Linux, all I need to do is make the program save the file in LaTeX, run pdflatex on it, then call evince or the default pdf viewer so it can be viewed and printed by the user. Wonderful. But I can't do the same under Windows. LaTeX is not a standard install on Windows. Neither is Java, which is the language I decided to use for that private software to be used company-wide. The solution I came up with is to make that private software save the file in Postscript. I only hope the default install of Windows has an available default viewer and printer driver for Postscript. Despite Postscript not being particularly fashionable these days, it still has its uses.
What!?! You don't like MOTIF? Back in the day, MOTIF was the only reason that I likeed GEOS. MOTIF on a PC. Now I use it on Linux.. This was a fantastic tutorial.. thank you!!!
Hmmm... you are right. Something must have changed. I can now download al three (red, blue and green) books from here: blogs.adobe.com/CCJKType/2016/12/ehandler.html
Do you need to know postscript to develop custom RIP software for inkjet printers? How would one begin programming/developing custom RIP software? Wish there was more info online about this.
I do not have experience with inkjets. Depending on what aspect of the conversion you are interested in, I can note that I usually get what I want from raster images by using one or more of the parts of the Netpbm package: en.wikipedia.org/wiki/Netpbm
You'd think this would be an easy question to answer. But it REALLY depends on what you want to learn/accomplish. If you already know C and the approach in this video is appealing: th-cam.com/video/iml0DBo5yqo/w-d-xo.html then look at the course web site in the video comments for links to other related stuff. You can do some google-searching for 'bare metal programming' or 'freestanding gcc' and see where that takes you. If, on the other hand, you /meant/ to ask about programming the peripherals on embedded SOCs then I suggest you pick a CPU and start looking at its databooks. In recent years, I have found the LPC-series chips from NXP to be very friendly and are supplied in LQFP packages that allow me to hand-solder them into my own custom PCBs like the ones you likely saw in the KiCad series. You are going to have to tell me more about your goals for me to know how to reply any better than this.
@@JohnsBasement My goal mainly is to build hardware which may not be that difficult for me and write software/firmware for controling this boar. For example I do not know to much what are layers in writing code. Like you have your I2C and you have some functions for handling transmit and recieve but something should be on the top of this transmit and recieve :) Thank you for your help
@@Antyelektronika So, you are asking about how to create an API for a message-based interface? Nothing immediately jumps to mind on that topic. I learned how to work at level by just diving in and figuring it out. These days you might be able to sift through examples of how device driver interfaces work in simple embedded operating systems like FreeRTOS, RTEMS, uC/OS, etc.
I've used it for creating animated charts by rendering timeseries data into a jpeg-per-page with ghostscript... and then into a video with ffmpeg. (Which I should write up how to do at some point.) Interactive? I haven't tried. But I'll observe that display-postscript was invented for that purpose (first I've seen it was on NeXT and then on OS X today)... and, I believe, is the basis for PDF files. But I'm not familiar with using it at as low a level as I discuss postscript in my tutorial series here.
PS was never made to write games. PS is made for printing. It is vector based, not bitmap based. For classic games you want to write bitmaps and pixels fast in video RAM. Today you use hardware accelerations and APIs like Vulkan, OpenGL and DirectX for that. If you need a simple 2d surface, you can use DirectDraw on Windows and if you want programm for every plattform, better use SDL 2.x. Version 2.x of SDL is hardware accelerated too. As a programming language you can learn C++. But if you only want create simple stuff, there is a library for Python that allows you to use SDL in Python.
I'd been carrying those 3 Adobe books around for the past 30 years, hardly doing anything with them, when I finally gave them away a couple years back. Now, I need to generate some visualizations of data, and finally need them. Thanks for the handy links to the PDFs and the nice intro.
😂
For those that are running Debian and don't get a visual output by using the ghostscript interpreter.
You need to install the ghostcript-x package.
Without it, there will be no x11 output. You can check this, by entering "gs -h" in a command line. Under available devices there should be someting like x11.
Thanks. I did not know about evince. I had been using Mac preview until the latest version stopped supporting PS. Evince saves having to call ps2pdf and open to view every time a change is made.
Oh so that's why Preview does nothing for me :(
To be honest never heard of Post Script but still found this interesting...ya wont get rid of me that easily.
😂... I need some vareity. There's plenty more bits to add to the KiCad playlist down the road!
Very nice video!
One nit: you don't need to start with 'newpath'. In fact you almost never need 'newpath', and it can cause lots of weird problems if you stick it procedures which draws things IME because it restricts how you can compose larger drawings from smaller pieces.
You're probably right. I do tend to make rather liberal use of newpath. If I ever get to organizing more complex projects I'll definitely have to address this.
I need to write a program which takes data from a database, does processing on it, and then prints out a nicely formatted output for a printer. In Linux, all I need to do is make the program save the file in LaTeX, run pdflatex on it, then call evince or the default pdf viewer so it can be viewed and printed by the user. Wonderful.
But I can't do the same under Windows. LaTeX is not a standard install on Windows. Neither is Java, which is the language I decided to use for that private software to be used company-wide. The solution I came up with is to make that private software save the file in Postscript. I only hope the default install of Windows has an available default viewer and printer driver for Postscript.
Despite Postscript not being particularly fashionable these days, it still has its uses.
What!?! You don't like MOTIF? Back in the day, MOTIF was the only reason that I likeed GEOS. MOTIF on a PC. Now I use it on Linux.. This was a fantastic tutorial.. thank you!!!
you explain it very well thank you
You are welcome!
Thank you, I was exactly looking for this.
I'm glad to help!
This is very interesting to watch!
The links that want you to log in at Adobe are strange just right-clicked and save as will work.
Hmmm... you are right. Something must have changed. I can now download al three (red, blue and green) books from here:
blogs.adobe.com/CCJKType/2016/12/ehandler.html
Do you need to know postscript to develop custom RIP software for inkjet printers?
How would one begin programming/developing custom RIP software?
Wish there was more info online about this.
I do not have experience with inkjets.
Depending on what aspect of the conversion you are interested in, I can note that I usually get what I want from raster images by using one or more of the parts of the Netpbm package: en.wikipedia.org/wiki/Netpbm
Hi John, what book or something like this would you suggest to learn programming microcontrollers in C language? Thanks for videos about KiCad
You'd think this would be an easy question to answer. But it REALLY depends on what you want to learn/accomplish. If you already know C and the approach in this video is appealing: th-cam.com/video/iml0DBo5yqo/w-d-xo.html then look at the course web site in the video comments for links to other related stuff.
You can do some google-searching for 'bare metal programming' or 'freestanding gcc' and see where that takes you.
If, on the other hand, you /meant/ to ask about programming the peripherals on embedded SOCs then I suggest you pick a CPU and start looking at its databooks. In recent years, I have found the LPC-series chips from NXP to be very friendly and are supplied in LQFP packages that allow me to hand-solder them into my own custom PCBs like the ones you likely saw in the KiCad series.
You are going to have to tell me more about your goals for me to know how to reply any better than this.
@@JohnsBasement My goal mainly is to build hardware which may not be that difficult for me and write software/firmware for controling this boar. For example I do not know to much what are layers in writing code. Like you have your I2C and you have some functions for handling transmit and recieve but something should be on the top of this transmit and recieve :) Thank you for your help
@@Antyelektronika So, you are asking about how to create an API for a message-based interface? Nothing immediately jumps to mind on that topic. I learned how to work at level by just diving in and figuring it out. These days you might be able to sift through examples of how device driver interfaces work in simple embedded operating systems like FreeRTOS, RTEMS, uC/OS, etc.
Can I use Postscript for animation or interactive programs? For example, can I write a game in this language?
I've used it for creating animated charts by rendering timeseries data into a jpeg-per-page with ghostscript... and then into a video with ffmpeg. (Which I should write up how to do at some point.)
Interactive? I haven't tried. But I'll observe that display-postscript was invented for that purpose (first I've seen it was on NeXT and then on OS X today)... and, I believe, is the basis for PDF files. But I'm not familiar with using it at as low a level as I discuss postscript in my tutorial series here.
@@JohnsBasement Thanks for the answer.
Are you planning to talk about animation in your video tutorial series?
I can add something that talks about something like my stripchart data animation video. (I can't promise when though.)
@@JohnsBasement It would be great. Thanx.
PS was never made to write games. PS is made for printing. It is vector based, not bitmap based. For classic games you want to write bitmaps and pixels fast in video RAM. Today you use hardware accelerations and APIs like Vulkan, OpenGL and DirectX for that.
If you need a simple 2d surface, you can use DirectDraw on Windows and if you want programm for every plattform, better use SDL 2.x. Version 2.x of SDL is hardware accelerated too.
As a programming language you can learn C++.
But if you only want create simple stuff, there is a library for Python that allows you to use SDL in Python.
Are the maker of .pdf file?
If you want to convert a postscript file into a pdf, you can use ps2pdf or the Adobe Acrobat distiller.
awesome! thanks.
You're welcome!
Thankssssss
lol what a find a from a carbage