Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

1,344

Downloads of v 5.43.0.20180521:

768

Last Update:

21 May 2018

Package Maintainer(s):

Software Author(s):

  • CERN
  • European Organization for Nuclear Research

Tags:

hpgl hp-gl postscript dxf cgm chemistry cern

HP-GL Viewer

  • 1
  • 2
  • 3

5.43.0.20180521 | Updated: 21 May 2018

Downloads:

1,344

Downloads of v 5.43.0.20180521:

768

Maintainer(s):

Software Author(s):

  • CERN
  • European Organization for Nuclear Research

HP-GL Viewer 5.43.0.20180521

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install HP-GL Viewer, run the following command from the command line or from PowerShell:

>

To upgrade HP-GL Viewer, run the following command from the command line or from PowerShell:

>

To uninstall HP-GL Viewer, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade hpglviewer -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade hpglviewer -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install hpglviewer
  win_chocolatey:
    name: hpglviewer
    version: '5.43.0.20180521'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'hpglviewer' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '5.43.0.20180521'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller hpglviewer
{
    Name     = "hpglviewer"
    Version  = "5.43.0.20180521"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'hpglviewer':
  ensure   => '5.43.0.20180521',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved by moderator gep13 on 23 May 2018.

Description

The HP-GL viewer developed at CERN provides fast and accurate display of HP-GL and HP-GL/2 files on a number of platforms and operating systems. It has an intuitive graphical interface and can be used to display, print, and convert files from HP-GL and HP-GL/2 to PostScript, Encapsulated PostScript, DXF, or CGM. It is available for various Unix, PC-Windows and MacIntosh platforms.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'  # stop on all errors

$InstallArgs = @{
   packageName   = $env:ChocolateyPackageName
   Url           = 'https://service-hpglview.web.cern.ch/service-hpglview/download/hpglview-543_Windows.zip' 
   checksum      = 'cd9d35477c4b44e484b17ebc718780fa81230f8183599593a83efe2d2197c94b'
   checksumType  = 'sha256'
   UnzipLocation = Join-Path $env:ChocolateyPackageFolder "V$env:ChocolateyPackageVersion"
}
Install-ChocolateyZipPackage @InstallArgs

$EscPath = $InstallArgs["UnzipLocation"] -replace '\\','\\'

New-Item -Path 'HKLM:\SOFTWARE\Classes\.hp2' -Value 'HpglView' -force | Out-Null
New-Item -Path 'HKLM:\SOFTWARE\Classes\.hpg' -Value 'HpglView' -force | Out-Null
New-Item -Path 'HKLM:\SOFTWARE\Classes\.hpgl' -Value 'HpglView' -force | Out-Null
New-Item -Path 'HKLM:\SOFTWARE\Classes\.plt' -Value 'HpglView' -force | Out-Null
New-Item -Path 'HKLM:\SOFTWARE\Classes\HpglView' -Value 'HP-GL Image' -force | Out-Null
New-Item -Path 'HKLM:\SOFTWARE\Classes\HpglView\shell' -Value 'open' -force | Out-Null
New-Item -Path 'HKLM:\SOFTWARE\Classes\HpglView\shell\open\command' -Value ('"\"' + $EscPath + '\\hpglview.exe\" \"%1\""') -force | Out-Null

tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'  # stop on all errors

remove-item 'hklm:\software\classes\.hp2' -Force -ErrorAction silentlycontinue
remove-item 'hklm:\software\classes\.hpg' -Force -ErrorAction silentlycontinue
remove-item 'hklm:\software\classes\.hpgl' -Force -ErrorAction silentlycontinue
remove-item 'hklm:\software\classes\.plt' -Force -ErrorAction silentlycontinue
remove-item 'hklm:\software\classes\HPGLView' -Recurse -Force -ErrorAction silentlycontinue
tools\LICENSE.txt
No strict license for HPGLview exists.  Below are the only available
statement regarding use and ownership.
=======================================================================

Quote from the hpglview website (https://service-hpglview.web.cern.ch/service-hpglview/):
  "While in the past the CERN HP-GL viewer was sold commercially outside of the 
   High Energy Physics community, it is nowadays distributed free of charge. "

=======================================================================
Below is a copy of a document included with the download that includes
some copyright and conditions of use.
=======================================================================


                               HPGLVIEW

                  Viewer and converter for HP-GL files

                             Version 5.43


                       CERN, Geneva, December 2011


1. Copyright

The CERN HP-GL viewer software is copyright and sole property of CERN,
European Organization for Nuclear Research, CH-1211 Geneva 23, Switzerland.

The viewer CGM module is derived from CGM Draw software produced by NIST,
which in turn is based on gd 1.2, copyright 1994, 1995, Quest Protein
Database Center, Cold Spring Harbor Labs, USA.


2. Conditions of Use Outside CERN

The software and documentation contained herein are provided for the sole
use of the organization to which they are licensed and may not be
redistributed or reproduced without the express approval of CERN.  The
documentation gives information about authorship of the software.  Neither
the software nor any accompanying material may be sold.  CERN must be given
credit in all references, documentation, and publications based on the
software.

Documentation and other information concerning the use and licensing of the
HP-GL viewer can be obtained via the URL:

  http://cern.ch/hpglview/hpglviewer.html


3. General Information

The CERN HP-GL viewer is designed to display legal HP-GL and HP-GL/2 files
on screen and to allow printing them and converting them to other formats.
The primary design criteria have been correctness, speed, and portability
to various platforms.  Versions of the viewer run on Microsoft Windows
versions 95 and newer, Apple MacOS 8 and newer, and on various Unix variants
including IBM AIX, Compaq/Digital OSF/1, Hewlett-Packard HP-UX, SGI IRIX,
Linux, Sun Solaris, and Apple MaxOS X / Darwin.  The current version of the
viewer understands most of the old HP-GL and the current HP-GL/2 standards
and extensions with a few exceptions:

  - No support for the Dual-Context Extension, i.e., using raster commands
    belonging to HP RTL (Raster Transfer Language) or HP PCL (Printer Control
    Language) command sets, or using the Scalable or Bitmap Fonts command
    sets.  Such commands are syntactically parsed and skipped without
    interpreting them.

  - HP PJL (Printer Job Language) headers are parsed and skipped.  The only
    feature interpreted is the language mode (HPGL / HPGL2), which may,
    however, be overridden if the file is later found to contain commands
    belonging solely to the other mode.

  - Minimal support for built-in fonts.  The HP-GL/2 symbol sets supported
    are:  US ASCII, Roman Extensions, Roman8, Latin1, Latin2, Latin5, and
    HP-GL Drafting.  The only available typeface is the simple vector stick
    font.  No other font characteristics are supported.

  - No support for device output and control commands in the Technical
    Graphics Extension.

  - No support for the commands in the Digitizing Extension.

  - No support for configurable line attributes, i.e., different line ends
    and joins.

  - Minimal support for advanced merge control and pixel placement commands
    in the Advanced Drawing Extension.  The merge commands are propagated
    when saving the file in HP-GL/2 from the viewer but are not interpreted
    for screen display or for printing on non-HP-GL/2 printers.

Practice has shown that few plot files heavily utilize features outside of
the set currently supported by the viewer.  However, in the future most of
the above items are expected to be supported with the exception of device
control and digitizing commands, which make no sense in the viewer context.


4. New and Changed Features in Version 5.43
 
Version 5.43 is a bugfix version based on version 5.42 and as such contains
no new features.


5. Old Licence Files and Version 5.43

Information in this section concerns only existing licensees of the CERN
HP-GL viewer.

Version 5.43 of the viewer is compatible with the licence files of versions
5.00, 5.01, 5.20, 5.21, 5.22, 5.30, 5.40, 5.41, and 5.42.  However, since several
items present in the licence file have been updated, it is highly recommended
to convert the file to the new format.  Note also that a bug exist in licence
files created before 2000, which renders the file unusable.  In this case
a new licence file can be requested from CERN (see below for contact details).
This can be done with the small utility named licconv available for different
architectures via the URL:

  http://cern.ch/hpglview/download_index.html

Usage instructions for the converter are contained in the included ReadMe
file.


6. Old Configuration Files and Version 5.43

Version 5.43 of the viewer is able to read old configuration files of versions
earlier than 5.43 but it only saves them in the new format, which may not be
properly interpreted by older viewer versions.


7. Contact Information

Queries and comments concerning the CERN HP-GL viewer should be addressed to:

  Timo Hakulinen
  CERN / GS
  CH-1211, Geneva 23,
  Switzerland

  email: [email protected]
  phone: +41 22 7679491
  fax:   +41 22 7667865

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
HP-GL Viewer 5.43 576 Tuesday, May 3, 2016 Approved

This package has no dependencies.

Discussion for the HP-GL Viewer Package

Ground Rules:

  • This discussion is only about HP-GL Viewer and the HP-GL Viewer package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or HP-GL Viewer, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus